#A66DFD#A66DFD

#A66DFD is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.1% C 0.207 H 298.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A66DFD
RGBrgb(166, 109, 253)
HSLhsl(264, 97%, 71%)
HSVhsv(264, 57%, 99%)
CMYKcmyk(34.4%, 56.9%, 0%, 0.8%)
CIE-LABlab(58.17, 51.61, -63.84)
CIE-LCHlch(58.17, 82.10, 308.95°)
OKLaboklab(66.12% 0.0999 -0.181)
OKLCHoklch(66.12% 0.207 298.9)
XYZxyz(38.9198, 26.1357, 95.9037)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66DFD #C4FD6D
analogous
#6D7CFD #A66DFD #EE6DFD
triadic
#A66DFD #FDA66D #6DFDA6
tetradic
#A66DFD #FD6D7C #C4FD6D #6DFDEE
square
#A66DFD #FD6D7C #C4FD6D #6DFDEE
split-complementary
#A66DFD #FDEE6D #7CFD6D
monochromatic
#6003EC #8131FC #A66DFD #CBA9FE #EDE1FF

Accessibility & contrast

On white

3.37
#A66DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A66DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66DFD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66DFD#FFFFFF#000000##000000
##A66DFD1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#248CFF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#938BAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a66dfd;
/* rgb */ color: rgb(166, 109, 253);
/* oklch */ color: oklch(66.1% 0.207 298.9);
Tailwind
colors: {
  custom: {
    50: '#c599ff',
    500: '#a66dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a66dfd;
$custom-light: #c599ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a66dfd",
  "rgb": {
    "r": 166,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 263.75,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66119,
    "c": 0.20672,
    "h": 298.9
  },
  "luminance": 0.26136
}

Semantic roles & 50–950 ramp

primary
#A66DFD
secondary
#E7F6D0
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A66DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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