#A66EEB#A66EEB

#A66EEB is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.2% C 0.184 H 302.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A66EEB
RGBrgb(166, 110, 235)
HSLhsl(267, 76%, 68%)
HSVhsv(267, 53%, 92%)
CMYKcmyk(29.4%, 53.2%, 0%, 7.8%)
CIE-LABlab(57.33, 46.69, -55.20)
CIE-LCHlch(57.33, 72.30, 310.22°)
OKLaboklab(65.16% 0.0982 -0.1557)
OKLCHoklch(65.16% 0.184 302.2)
XYZxyz(36.2938, 25.2570, 81.5442)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66EEB #B3EB6E
analogous
#6E74EB #A66EEB #E56EEB
triadic
#A66EEB #EBA66E #6EEBA6
tetradic
#A66EEB #EB6E74 #B3EB6E #6EEBE5
square
#A66EEB #EB6E74 #B3EB6E #6EEBE5
split-complementary
#A66EEB #EBE56E #74EB6E
monochromatic
#671BC4 #8538E4 #A66EEB #C7A4F2 #E8DAFA

Accessibility & contrast

On white

3.47
#A66EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A66EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66EEB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66EEB#FFFFFF#000000##000000
##A66EEB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#9986A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66eeb;
/* rgb */ color: rgb(166, 110, 235);
/* oklch */ color: oklch(65.2% 0.184 302.2);
Tailwind
colors: {
  custom: {
    50: '#c499f2',
    500: '#a66eeb',
    950: '#000000',
  },
}
SCSS
$custom: #a66eeb;
$custom-light: #c499f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66eeb",
  "rgb": {
    "r": 166,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 266.88,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65164,
    "c": 0.18405,
    "h": 302.2
  },
  "luminance": 0.25257
}

Semantic roles & 50–950 ramp

primary
#A66EEB
secondary
#DCEEC7
accent
#D80E7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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