#A66CEB#A66CEB

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

Color values

HEX#A66CEB
RGBrgb(166, 108, 235)
HSLhsl(267, 76%, 67%)
HSVhsv(267, 54%, 92%)
CMYKcmyk(29.4%, 54%, 0%, 7.8%)
CIE-LABlab(56.91, 47.77, -55.87)
CIE-LCHlch(56.91, 73.50, 310.53°)
OKLaboklab(64.86% 0.1007 -0.1576)
OKLCHoklch(64.86% 0.187 302.6)
XYZxyz(36.0804, 24.8303, 81.4731)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CEB #B1EB6C
analogous
#6C71EB #A66CEB #E66CEB
triadic
#A66CEB #EBA66C #6CEBA6
tetradic
#A66CEB #EB6C71 #B1EB6C #6CEBE6
square
#A66CEB #EB6C71 #B1EB6C #6CEBE6
split-complementary
#A66CEB #EBE66C #71EB6C
monochromatic
#671AC2 #8536E4 #A66CEB #C7A2F2 #E7D8FA

Accessibility & contrast

On white

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

On black

5.97
#A66CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CEB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CEB#FFFFFF#000000##000000
##A66CEB1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#9984A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66ceb;
/* rgb */ color: rgb(166, 108, 235);
/* oklch */ color: oklch(64.9% 0.187 302.6);
Tailwind
colors: {
  custom: {
    50: '#c498f2',
    500: '#a66ceb',
    950: '#000000',
  },
}
SCSS
$custom: #a66ceb;
$custom-light: #c498f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ceb",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 267.402,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64858,
    "c": 0.18705,
    "h": 302.6
  },
  "luminance": 0.2483
}

Semantic roles & 50–950 ramp

primary
#A66CEB
secondary
#DBEDC5
accent
#D80D7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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