#A66FBB#A66FBB

#A66FBB is a light, vivid purple. Relative luminance 0.231; OKLCH L 62.8% C 0.126 H 316.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A66FBB
RGBrgb(166, 111, 187)
HSLhsl(283, 36%, 58%)
HSVhsv(283, 41%, 73%)
CMYKcmyk(11.2%, 40.6%, 0%, 26.7%)
CIE-LABlab(55.14, 35.23, -31.50)
CIE-LCHlch(55.14, 47.26, 318.20°)
OKLaboklab(62.75% 0.0907 -0.0868)
OKLCHoklch(62.75% 0.126 316.3)
XYZxyz(30.3786, 23.0645, 49.8557)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FBB #84BB6F
analogous
#806FBB #A66FBB #BB6FAA
triadic
#A66FBB #BBA66F #6FBBA6
tetradic
#A66FBB #BB806F #84BB6F #6FAABB
square
#A66FBB #BB806F #84BB6F #6FAABB
split-complementary
#A66FBB #AABB6F #6FBB80
monochromatic
#663877 #894CA1 #A66FBB #C099CF #D9C2E2

Accessibility & contrast

On white

3.74
#A66FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A66FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FBB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FBB#FFFFFF#000000##000000
##A66FBB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#A5798C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a66fbb;
/* rgb */ color: rgb(166, 111, 187);
/* oklch */ color: oklch(62.8% 0.126 316.3);
Tailwind
colors: {
  custom: {
    50: '#c199cf',
    500: '#a66fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a66fbb;
$custom-light: #c199cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a66fbb",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 283.421,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62752,
    "c": 0.12558,
    "h": 316.3
  },
  "luminance": 0.23064
}

Semantic roles & 50–950 ramp

primary
#A66FBB
secondary
#BCD2B4
accent
#CC5C7B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A66FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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