#A66CB2#A66CB2

#A66CB2 is a mid, vivid purple. Relative luminance 0.220; OKLCH L 61.8% C 0.121 H 320.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A66CB2
RGBrgb(166, 108, 178)
HSLhsl(290, 31%, 56%)
HSVhsv(290, 39%, 70%)
CMYKcmyk(6.7%, 39.3%, 0%, 30.2%)
CIE-LABlab(54.08, 35.03, -27.97)
CIE-LCHlch(54.08, 44.82, 321.39°)
OKLaboklab(61.83% 0.0933 -0.0767)
OKLCHoklch(61.83% 0.121 320.6)
XYZxyz(29.1233, 22.0474, 44.8323)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CB2 #78B26C
analogous
#836CB2 #A66CB2 #B26C9B
triadic
#A66CB2 #B2A66C #6CB2A6
tetradic
#A66CB2 #B2836C #78B26C #6C9BB2
square
#A66CB2 #B2836C #78B26C #6C9BB2
split-complementary
#A66CB2 #9BB26C #6CB283
monochromatic
#63386B #874D94 #A66CB2 #BE94C7 #D7BCDC

Accessibility & contrast

On white

3.88
#A66CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A66CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CB2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CB2#FFFFFF#000000##000000
##A66CB21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB5
Deuteranopia (green-blind)
#7283B0
Tritanopia (blue-blind)
#A77487
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a66cb2;
/* rgb */ color: rgb(166, 108, 178);
/* oklch */ color: oklch(61.8% 0.121 320.6);
Tailwind
colors: {
  custom: {
    50: '#c197c9',
    500: '#a66cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a66cb2;
$custom-light: #c197c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a66cb2",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 289.714,
    "s": 31.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61826,
    "c": 0.12078,
    "h": 320.6
  },
  "luminance": 0.22046
}

Semantic roles & 50–950 ramp

primary
#A66CB2
secondary
#B3CBAE
accent
#C76072
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A66CB2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A66CB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva