#A66AEB#A66AEB

#A66AEB is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.6% C 0.190 H 302.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A66AEB
RGBrgb(166, 106, 235)
HSLhsl(268, 76%, 67%)
HSVhsv(268, 55%, 92%)
CMYKcmyk(29.4%, 54.9%, 0%, 7.8%)
CIE-LABlab(56.50, 48.84, -56.52)
CIE-LCHlch(56.50, 74.70, 310.83°)
OKLaboklab(64.55% 0.1033 -0.1595)
OKLCHoklch(64.55% 0.19 302.9)
XYZxyz(35.8719, 24.4132, 81.4035)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AEB #AFEB6A
analogous
#6A6FEB #A66AEB #E66AEB
triadic
#A66AEB #EBA66A #6AEBA6
tetradic
#A66AEB #EB6A6F #AFEB6A #6AEBE6
square
#A66AEB #EB6A6F #AFEB6A #6AEBE6
split-complementary
#A66AEB #EBE66A #6FEB6A
monochromatic
#671AC1 #8634E4 #A66AEB #C6A0F2 #E6D6F9

Accessibility & contrast

On white

3.57
#A66AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#A66AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AEB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AEB#FFFFFF#000000##000000
##A66AEB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#9983A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66aeb;
/* rgb */ color: rgb(166, 106, 235);
/* oklch */ color: oklch(64.6% 0.190 302.9);
Tailwind
colors: {
  custom: {
    50: '#c497f2',
    500: '#a66aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a66aeb;
$custom-light: #c497f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66aeb",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 267.907,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64555,
    "c": 0.19002,
    "h": 302.9
  },
  "luminance": 0.24413
}

Semantic roles & 50–950 ramp

primary
#A66AEB
secondary
#DAEDC4
accent
#D90D7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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