#A66BBB#A66BBB

#A66BBB is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.1% C 0.133 H 316.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A66BBB
RGBrgb(166, 107, 187)
HSLhsl(284, 37%, 58%)
HSVhsv(284, 43%, 73%)
CMYKcmyk(11.2%, 42.8%, 0%, 26.7%)
CIE-LABlab(54.25, 37.45, -32.88)
CIE-LCHlch(54.25, 49.84, 318.71°)
OKLaboklab(62.09% 0.0967 -0.0908)
OKLCHoklch(62.09% 0.133 316.8)
XYZxyz(29.9519, 22.2111, 49.7134)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BBB #80BB6B
analogous
#7E6BBB #A66BBB #BB6BA8
triadic
#A66BBB #BBA66B #6BBBA6
tetradic
#A66BBB #BB7E6B #80BB6B #6BA8BB
square
#A66BBB #BB7E6B #80BB6B #6BA8BB
split-complementary
#A66BBB #A8BB6B #6BBB7E
monochromatic
#653676 #8949A0 #A66BBB #BF95CE #D8BFE2

Accessibility & contrast

On white

3.86
#A66BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#A66BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BBB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BBB#FFFFFF#000000##000000
##A66BBB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#6D84B9
Tritanopia (blue-blind)
#A5768A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a66bbb;
/* rgb */ color: rgb(166, 107, 187);
/* oklch */ color: oklch(62.1% 0.133 316.8);
Tailwind
colors: {
  custom: {
    50: '#c297cf',
    500: '#a66bbb',
    950: '#000000',
  },
}
SCSS
$custom: #a66bbb;
$custom-light: #c297cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bbb",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 284.25,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.1326,
    "h": 316.8
  },
  "luminance": 0.2221
}

Semantic roles & 50–950 ramp

primary
#A66BBB
secondary
#B9D1B1
accent
#CD5B79
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A66BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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