#A66DF2#A66DF2

#A66DF2 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.4% C 0.194 H 301.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A66DF2
RGBrgb(166, 109, 242)
HSLhsl(266, 84%, 69%)
HSVhsv(266, 55%, 95%)
CMYKcmyk(31.4%, 55%, 0%, 5.1%)
CIE-LABlab(57.52, 48.92, -58.79)
CIE-LCHlch(57.52, 76.48, 309.76°)
OKLaboklab(65.43% 0.0997 -0.1662)
OKLCHoklch(65.43% 0.194 301)
XYZxyz(37.2178, 25.4549, 86.9397)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66DF2 #B9F26D
analogous
#6D77F2 #A66DF2 #E86DF2
triadic
#A66DF2 #F2A66D #6DF2A6
tetradic
#A66DF2 #F26D77 #B9F26D #6DF2E8
square
#A66DF2 #F26D77 #B9F26D #6DF2E8
split-complementary
#A66DF2 #F2E86D #77F26D
monochromatic
#6513D2 #8435ED #A66DF2 #C8A5F7 #EBDDFC

Accessibility & contrast

On white

3.45
#A66DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A66DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66DF2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66DF2#FFFFFF#000000##000000
##A66DF21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3689F6
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#9787A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66df2;
/* rgb */ color: rgb(166, 109, 242);
/* oklch */ color: oklch(65.4% 0.194 301.0);
Tailwind
colors: {
  custom: {
    50: '#c499f7',
    500: '#a66df2',
    950: '#000000',
  },
}
SCSS
$custom: #a66df2;
$custom-light: #c499f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a66df2",
  "rgb": {
    "r": 166,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 265.714,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65433,
    "c": 0.19381,
    "h": 301
  },
  "luminance": 0.25455
}

Semantic roles & 50–950 ramp

primary
#A66DF2
secondary
#E0F1CA
accent
#E00582
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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