#A66AFB#A66AFB

#A66AFB is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.6% C 0.209 H 299.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A66AFB
RGBrgb(166, 106, 251)
HSLhsl(265, 95%, 70%)
HSVhsv(265, 58%, 98%)
CMYKcmyk(33.9%, 57.8%, 0%, 1.6%)
CIE-LABlab(57.44, 52.70, -63.90)
CIE-LCHlch(57.44, 82.83, 309.52°)
OKLaboklab(65.55% 0.1034 -0.1812)
OKLCHoklch(65.55% 0.209 299.7)
XYZxyz(38.2883, 25.3798, 94.1297)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AFB #BFFB6A
analogous
#6A76FB #A66AFB #EF6AFB
triadic
#A66AFB #FBA66A #6AFBA6
tetradic
#A66AFB #FB6A76 #BFFB6A #6AFBEF
square
#A66AFB #FB6A76 #BFFB6A #6AFBEF
split-complementary
#A66AFB #FBEF6A #76FB6A
monochromatic
#6206E4 #822EF9 #A66AFB #CAA6FD #EDE1FE

Accessibility & contrast

On white

3.46
#A66AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A66AFB#FFFFFF#000000##000000
##A66AFB1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#3B89F8
Tritanopia (blue-blind)
#9488A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66afb;
/* rgb */ color: rgb(166, 106, 251);
/* oklch */ color: oklch(65.6% 0.209 299.7);
Tailwind
colors: {
  custom: {
    50: '#c597fd',
    500: '#a66afb',
    950: '#000000',
  },
}
SCSS
$custom: #a66afb;
$custom-light: #c597fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a66afb",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 264.828,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.65552,
    "c": 0.2086,
    "h": 299.7
  },
  "luminance": 0.2538
}

Semantic roles & 50–950 ramp

primary
#A66AFB
secondary
#E4F5CC
accent
#E60087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A66AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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