#A66DEC#A66DEC

#A66DEC is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.1% C 0.187 H 302.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A66DEC
RGBrgb(166, 109, 236)
HSLhsl(267, 77%, 68%)
HSVhsv(267, 54%, 93%)
CMYKcmyk(29.7%, 53.8%, 0%, 7.5%)
CIE-LABlab(57.17, 47.47, -56.00)
CIE-LCHlch(57.17, 73.41, 310.29°)
OKLaboklab(65.07% 0.0995 -0.158)
OKLCHoklch(65.07% 0.187 302.2)
XYZxyz(36.3314, 25.1004, 82.2714)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66DEC #B3EC6D
analogous
#6D73EC #A66DEC #E56DEC
triadic
#A66DEC #ECA66D #6DECA6
tetradic
#A66DEC #EC6D73 #B3EC6D #6DECE5
square
#A66DEC #EC6D73 #B3EC6D #6DECE5
split-complementary
#A66DEC #ECE56D #73EC6D
monochromatic
#671AC5 #8537E5 #A66DEC #C7A3F3 #E8D9FA

Accessibility & contrast

On white

3.49
#A66DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A66DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66DEC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66DEC#FFFFFF#000000##000000
##A66DEC1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#9985A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66dec;
/* rgb */ color: rgb(166, 109, 236);
/* oklch */ color: oklch(65.1% 0.187 302.2);
Tailwind
colors: {
  custom: {
    50: '#c499f3',
    500: '#a66dec',
    950: '#000000',
  },
}
SCSS
$custom: #a66dec;
$custom-light: #c499f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a66dec",
  "rgb": {
    "r": 166,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 266.929,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.18673,
    "h": 302.2
  },
  "luminance": 0.251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A66DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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