#A66BEE#A66BEE

#A66BEE is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.192 H 302.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A66BEE
RGBrgb(166, 107, 238)
HSLhsl(267, 79%, 68%)
HSVhsv(267, 55%, 93%)
CMYKcmyk(30.3%, 55%, 0%, 6.7%)
CIE-LABlab(56.88, 49.02, -57.59)
CIE-LCHlch(56.88, 75.63, 310.40°)
OKLaboklab(64.89% 0.1021 -0.1627)
OKLCHoklch(64.89% 0.192 302.1)
XYZxyz(36.4127, 24.7954, 83.7400)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BEE #B3EE6B
analogous
#6B71EE #A66BEE #E86BEE
triadic
#A66BEE #EEA66B #6BEEA6
tetradic
#A66BEE #EE6B71 #B3EE6B #6BEEE8
square
#A66BEE #EE6B71 #B3EE6B #6BEEE8
split-complementary
#A66BEE #EEE86B #71EE6B
monochromatic
#6717C8 #8534E8 #A66BEE #C7A2F4 #E8D9FB

Accessibility & contrast

On white

3.52
#A66BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#A66BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BEE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BEE#FFFFFF#000000##000000
##A66BEE1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F2
Deuteranopia (green-blind)
#4C88EB
Tritanopia (blue-blind)
#9885A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a66bee;
/* rgb */ color: rgb(166, 107, 238);
/* oklch */ color: oklch(64.9% 0.192 302.1);
Tailwind
colors: {
  custom: {
    50: '#c497f4',
    500: '#a66bee',
    950: '#000000',
  },
}
SCSS
$custom: #a66bee;
$custom-light: #c497f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bee",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 267.023,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64888,
    "c": 0.19205,
    "h": 302.1
  },
  "luminance": 0.24795
}

Semantic roles & 50–950 ramp

primary
#A66BEE
secondary
#DCEFC6
accent
#DC0A7D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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