#A66AE8#A66AE8

#A66AE8 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.4% C 0.187 H 303.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A66AE8
RGBrgb(166, 106, 232)
HSLhsl(269, 73%, 66%)
HSVhsv(269, 54%, 91%)
CMYKcmyk(28.4%, 54.3%, 0%, 9%)
CIE-LABlab(56.33, 48.12, -55.12)
CIE-LCHlch(56.33, 73.17, 311.12°)
OKLaboklab(64.38% 0.1031 -0.1554)
OKLCHoklch(64.38% 0.187 303.6)
XYZxyz(35.4422, 24.2413, 79.1402)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AE8 #ACE86A
analogous
#6A6DE8 #A66AE8 #E56AE8
triadic
#A66AE8 #E8A66A #6AE8A6
tetradic
#A66AE8 #E86A6D #ACE86A #6AE8E5
square
#A66AE8 #E86A6D #ACE86A #6AE8E5
split-complementary
#A66AE8 #E8E56A #6DE86A
monochromatic
#681DBB #8635E0 #A66AE8 #C69FF0 #E5D4F8

Accessibility & contrast

On white

3.59
#A66AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A66AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AE8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AE8#FFFFFF#000000##000000
##A66AE81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86EC
Deuteranopia (green-blind)
#5087E5
Tritanopia (blue-blind)
#9A829F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66ae8;
/* rgb */ color: rgb(166, 106, 232);
/* oklch */ color: oklch(64.4% 0.187 303.6);
Tailwind
colors: {
  custom: {
    50: '#c496f0',
    500: '#a66ae8',
    950: '#000000',
  },
}
SCSS
$custom: #a66ae8;
$custom-light: #c496f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ae8",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 232
  },
  "hsl": {
    "h": 268.571,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64375,
    "c": 0.18651,
    "h": 303.6
  },
  "luminance": 0.24241
}

Semantic roles & 50–950 ramp

primary
#A66AE8
secondary
#D8EBC2
accent
#D51077
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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