#A66BBC#A66BBC

#A66BBC is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.1% C 0.134 H 316.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A66BBC
RGBrgb(166, 107, 188)
HSLhsl(284, 38%, 58%)
HSVhsv(284, 43%, 74%)
CMYKcmyk(11.7%, 43.1%, 0%, 26.3%)
CIE-LABlab(54.30, 37.66, -33.39)
CIE-LCHlch(54.30, 50.33, 318.44°)
OKLaboklab(62.13% 0.0968 -0.0922)
OKLCHoklch(62.13% 0.134 316.4)
XYZxyz(30.0593, 22.2540, 50.2792)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BBC #81BC6B
analogous
#7E6BBC #A66BBC #BC6BA9
triadic
#A66BBC #BCA66B #6BBCA6
tetradic
#A66BBC #BC7E6B #81BC6B #6BA9BC
square
#A66BBC #BC7E6B #81BC6B #6BA9BC
split-complementary
#A66BBC #A9BC6B #6BBC7E
monochromatic
#653677 #8949A1 #A66BBC #BF95CF #D9BFE2

Accessibility & contrast

On white

3.85
#A66BBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A66BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BBC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BBC#FFFFFF#000000##000000
##A66BBC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#6D84BA
Tritanopia (blue-blind)
#A5768B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a66bbc;
/* rgb */ color: rgb(166, 107, 188);
/* oklch */ color: oklch(62.1% 0.134 316.4);
Tailwind
colors: {
  custom: {
    50: '#c297d0',
    500: '#a66bbc',
    950: '#000000',
  },
}
SCSS
$custom: #a66bbc;
$custom-light: #c297d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bbc",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 188
  },
  "hsl": {
    "h": 283.704,
    "s": 37.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62134,
    "c": 0.13374,
    "h": 316.4
  },
  "luminance": 0.22253
}

Semantic roles & 50–950 ramp

primary
#A66BBC
secondary
#BAD2B1
accent
#CE5A7A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A66BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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