#A66BB3#A66BB3

#A66BB3 is a mid, vivid purple. Relative luminance 0.219; OKLCH L 61.7% C 0.124 H 320.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A66BB3
RGBrgb(166, 107, 179)
HSLhsl(289, 32%, 56%)
HSVhsv(289, 40%, 70%)
CMYKcmyk(7.3%, 40.2%, 0%, 29.8%)
CIE-LABlab(53.90, 35.79, -28.82)
CIE-LCHlch(53.90, 45.95, 321.15°)
OKLaboklab(61.71% 0.095 -0.0792)
OKLCHoklch(61.71% 0.124 320.2)
XYZxyz(29.1192, 21.8780, 45.3281)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BB3 #78B36B
analogous
#826BB3 #A66BB3 #B36B9C
triadic
#A66BB3 #B3A66B #6BB3A6
tetradic
#A66BB3 #B3826B #78B36B #6B9CB3
square
#A66BB3 #B3826B #78B36B #6B9CB3
split-complementary
#A66BB3 #9CB36B #6BB382
monochromatic
#63386C #874C95 #A66BB3 #BE93C8 #D7BCDD

Accessibility & contrast

On white

3.91
#A66BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#A66BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BB3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BB3#FFFFFF#000000##000000
##A66BB31.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#7183B1
Tritanopia (blue-blind)
#A77487
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a66bb3;
/* rgb */ color: rgb(166, 107, 179);
/* oklch */ color: oklch(61.7% 0.124 320.2);
Tailwind
colors: {
  custom: {
    50: '#c196ca',
    500: '#a66bb3',
    950: '#000000',
  },
}
SCSS
$custom: #a66bb3;
$custom-light: #c196ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bb3",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 289.167,
    "s": 32.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.12368,
    "h": 320.2
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

primary
#A66BB3
secondary
#B3CCAE
accent
#C85F72
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A66BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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