#A66FFB#A66FFB

#A66FFB is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.3% C 0.202 H 298.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A66FFB
RGBrgb(166, 111, 251)
HSLhsl(264, 95%, 71%)
HSVhsv(264, 56%, 98%)
CMYKcmyk(33.9%, 55.8%, 0%, 1.6%)
CIE-LABlab(58.45, 50.05, -62.28)
CIE-LCHlch(58.45, 79.90, 308.79°)
OKLaboklab(66.29% 0.0975 -0.1764)
OKLCHoklch(66.29% 0.202 298.9)
XYZxyz(38.8187, 26.4405, 94.3065)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FFB #C4FB6F
analogous
#6F7EFB #A66FFB #EC6FFB
triadic
#A66FFB #FBA66F #6FFBA6
tetradic
#A66FFB #FB6F7E #C4FB6F #6FFBEC
square
#A66FFB #FB6F7E #C4FB6F #6FFBEC
split-complementary
#A66FFB #FBEC6F #7EFB6F
monochromatic
#6006E9 #8133F9 #A66FFB #CBABFD #EDE1FE

Accessibility & contrast

On white

3.34
#A66FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A66FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FFB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FFB#FFFFFF#000000##000000
##A66FFB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8DFF
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#948CAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a66ffb;
/* rgb */ color: rgb(166, 111, 251);
/* oklch */ color: oklch(66.3% 0.202 298.9);
Tailwind
colors: {
  custom: {
    50: '#c59afd',
    500: '#a66ffb',
    950: '#000000',
  },
}
SCSS
$custom: #a66ffb;
$custom-light: #c59afd;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ffb",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 263.571,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.20155,
    "h": 298.9
  },
  "luminance": 0.26441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A66FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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