#A66FEA#A66FEA

#A66FEA is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.3% C 0.181 H 302.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A66FEA
RGBrgb(166, 111, 234)
HSLhsl(267, 75%, 68%)
HSVhsv(267, 53%, 92%)
CMYKcmyk(29.1%, 52.6%, 0%, 8.2%)
CIE-LABlab(57.48, 45.91, -54.40)
CIE-LCHlch(57.48, 71.18, 310.16°)
OKLaboklab(65.26% 0.0969 -0.1533)
OKLCHoklch(65.26% 0.181 302.3)
XYZxyz(36.2582, 25.4163, 80.8216)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FEA #B3EA6F
analogous
#6F76EA #A66FEA #E36FEA
triadic
#A66FEA #EAA66F #6FEAA6
tetradic
#A66FEA #EA6F76 #B3EA6F #6FEAE3
square
#A66FEA #EA6F76 #B3EA6F #6FEAE3
split-complementary
#A66FEA #EAE36F #76EA6F
monochromatic
#671CC2 #853AE2 #A66FEA #C7A4F2 #E8DAFA

Accessibility & contrast

On white

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

On black

6.08
#A66FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FEA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FEA#FFFFFF#000000##000000
##A66FEA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EE
Deuteranopia (green-blind)
#548AE7
Tritanopia (blue-blind)
#9986A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66fea;
/* rgb */ color: rgb(166, 111, 234);
/* oklch */ color: oklch(65.3% 0.181 302.3);
Tailwind
colors: {
  custom: {
    50: '#c49af1',
    500: '#a66fea',
    950: '#000000',
  },
}
SCSS
$custom: #a66fea;
$custom-light: #c49af1;
$custom-dark: #000000;
JSON
{
  "hex": "#a66fea",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 266.829,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6526,
    "c": 0.18136,
    "h": 302.3
  },
  "luminance": 0.25416
}

Semantic roles & 50–950 ramp

primary
#A66FEA
secondary
#DCEDC7
accent
#D70F7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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