#A66DEF#A66DEF

#A66DEF is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.3% C 0.190 H 301.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A66DEF
RGBrgb(166, 109, 239)
HSLhsl(266, 80%, 68%)
HSVhsv(266, 54%, 94%)
CMYKcmyk(30.5%, 54.4%, 0%, 6.3%)
CIE-LABlab(57.34, 48.19, -57.40)
CIE-LCHlch(57.34, 74.95, 310.02°)
OKLaboklab(65.25% 0.0996 -0.1621)
OKLCHoklch(65.25% 0.19 301.6)
XYZxyz(36.7709, 25.2762, 84.5862)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66DEF #B6EF6D
analogous
#6D75EF #A66DEF #E76DEF
triadic
#A66DEF #EFA66D #6DEFA6
tetradic
#A66DEF #EF6D75 #B6EF6D #6DEFE7
square
#A66DEF #EF6D75 #B6EF6D #6DEFE7
split-complementary
#A66DEF #EFE76D #75EF6D
monochromatic
#6616CB #8436E9 #A66DEF #C8A4F5 #E9DBFB

Accessibility & contrast

On white

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

On black

6.06
#A66DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66DEF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66DEF#FFFFFF#000000##000000
##A66DEF1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#4D89EC
Tritanopia (blue-blind)
#9886A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66def;
/* rgb */ color: rgb(166, 109, 239);
/* oklch */ color: oklch(65.3% 0.190 301.6);
Tailwind
colors: {
  custom: {
    50: '#c499f5',
    500: '#a66def',
    950: '#000000',
  },
}
SCSS
$custom: #a66def;
$custom-light: #c499f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a66def",
  "rgb": {
    "r": 166,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 266.308,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65251,
    "c": 0.19027,
    "h": 301.6
  },
  "luminance": 0.25276
}

Semantic roles & 50–950 ramp

primary
#A66DEF
secondary
#DEF0C8
accent
#DD0980
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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