#A67FCC

A color in the Violet family

#a67fcc is a color in the Violet family: RGB(166, 127, 204), HSL(270°, 43%, 65%), CMYK(19%, 38%, 0%, 20%). Closest named color: mediumpurple. Contrast is 3.22:1 on white and 6.53:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a67fcc
RGBrgb(166 127 204)
RGB (legacy)rgb(166, 127, 204)
RGB %rgb(65% 50% 80%)
HSLhsl(270 43% 65%)
HSV / HSBhsv(270, 38%, 80%)
HWBhwb(270 50% 20%)
CMYKcmyk(19%, 38%, 0%, 20%)
CIELAB (D50)lab(59.31 26.7 -34.42)
LCHlch(59.31 43.56 307.79)
OKLaboklab(0.6634 0.0708 -0.0949)
OKLCHoklch(0.6634 0.1184 306.71)
Decimal10911692

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.9
Closest web-safe color#9966cc
Hue270°
Saturation (HSL / HSV)43% / 38%
Lightness (HSL)65%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)58% / 55%
Relative luminance (WCAG)0.2765
Red / Green / Blue166 / 127 / 204

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.22:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.53:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 59.3 / -42.4 · As background with white / black text: Lc -64.7 / 44.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #a67fcc;
  --color-brand-oklch: oklch(66.34% 0.1184 306.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 127 204 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67fcc] text-[#a67fcc] border-[#a67fcc]">