#A666E5#A666E5

#A666E5 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.189 H 304.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A666E5
RGBrgb(166, 102, 229)
HSLhsl(270, 71%, 65%)
HSVhsv(270, 55%, 90%)
CMYKcmyk(27.5%, 55.5%, 0%, 10.2%)
CIE-LABlab(55.35, 49.54, -55.01)
CIE-LCHlch(55.35, 74.03, 312.01°)
OKLaboklab(63.6% 0.1081 -0.1551)
OKLCHoklch(63.6% 0.189 304.9)
XYZxyz(34.6170, 23.2671, 76.7809)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666E5 #A5E566
analogous
#6666E5 #A666E5 #E566E5
triadic
#A666E5 #E5A666 #66E5A6
tetradic
#A666E5 #E56666 #A5E566 #66E5E5
square
#A666E5 #E56666 #A5E566 #66E5E5
split-complementary
#A666E5 #E5E566 #66E566
monochromatic
#691EB2 #8832DC #A666E5 #C49AEE #E3CFF7

Accessibility & contrast

On white

3.71
#A666E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A666E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666E5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666E5#FFFFFF#000000##000000
##A666E51.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683E9
Deuteranopia (green-blind)
#4E85E2
Tritanopia (blue-blind)
#9B7E9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a666e5;
/* rgb */ color: rgb(166, 102, 229);
/* oklch */ color: oklch(63.6% 0.189 304.9);
Tailwind
colors: {
  custom: {
    50: '#c494ee',
    500: '#a666e5',
    950: '#000000',
  },
}
SCSS
$custom: #a666e5;
$custom-light: #c494ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a666e5",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 270.236,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63597,
    "c": 0.18902,
    "h": 304.9
  },
  "luminance": 0.23267
}

Semantic roles & 50–950 ramp

primary
#A666E5
secondary
#D3E9BE
accent
#D31372
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666E5

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

Preview Lab → · Contrast checker → · Palette generator →

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