#A666E4#A666E4

#A666E4 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.188 H 305.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A666E4
RGBrgb(166, 102, 228)
HSLhsl(270, 70%, 65%)
HSVhsv(270, 55%, 89%)
CMYKcmyk(27.2%, 55.3%, 0%, 10.6%)
CIE-LABlab(55.29, 49.31, -54.54)
CIE-LCHlch(55.29, 73.52, 312.12°)
OKLaboklab(63.54% 0.1081 -0.1537)
OKLCHoklch(63.54% 0.188 305.1)
XYZxyz(34.4778, 23.2114, 76.0476)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666E4 #A4E466
analogous
#6766E4 #A666E4 #E466E3
triadic
#A666E4 #E4A666 #66E4A6
tetradic
#A666E4 #E46766 #A4E466 #66E3E4
square
#A666E4 #E46766 #A4E466 #66E3E4
split-complementary
#A666E4 #E3E466 #66E467
monochromatic
#691FB0 #8832DB #A666E4 #C49AED #E3CEF6

Accessibility & contrast

On white

3.72
#A666E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#A666E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666E4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666E4#FFFFFF#000000##000000
##A666E41.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E8
Deuteranopia (green-blind)
#4F85E1
Tritanopia (blue-blind)
#9B7E9B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a666e4;
/* rgb */ color: rgb(166, 102, 228);
/* oklch */ color: oklch(63.5% 0.188 305.1);
Tailwind
colors: {
  custom: {
    50: '#c494ed',
    500: '#a666e4',
    950: '#000000',
  },
}
SCSS
$custom: #a666e4;
$custom-light: #c494ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a666e4",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 270.476,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63537,
    "c": 0.18787,
    "h": 305.1
  },
  "luminance": 0.23211
}

Semantic roles & 50–950 ramp

primary
#A666E4
secondary
#D3E9BD
accent
#D21471
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666E4

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

Preview Lab → · Contrast checker → · Palette generator →

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