#A666E6#A666E6

#A666E6 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.190 H 304.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A666E6
RGBrgb(166, 102, 230)
HSLhsl(270, 72%, 65%)
HSVhsv(270, 56%, 90%)
CMYKcmyk(27.8%, 55.7%, 0%, 9.8%)
CIE-LABlab(55.40, 49.78, -55.48)
CIE-LCHlch(55.40, 74.53, 311.90°)
OKLaboklab(63.66% 0.1081 -0.1564)
OKLCHoklch(63.66% 0.19 304.6)
XYZxyz(34.7571, 23.3231, 77.5183)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666E6 #A6E666
analogous
#6666E6 #A666E6 #E666E6
triadic
#A666E6 #E6A666 #66E6A6
tetradic
#A666E6 #E66666 #A6E666 #66E6E6
square
#A666E6 #E66666 #A6E666 #66E6E6
split-complementary
#A666E6 #E6E666 #66E666
monochromatic
#691DB4 #8731DD #A666E6 #C59BEF #E3CFF7

Accessibility & contrast

On white

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

On black

5.66
#A666E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666E6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666E6#FFFFFF#000000##000000
##A666E61.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EA
Deuteranopia (green-blind)
#4D85E3
Tritanopia (blue-blind)
#9B7F9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a666e6;
/* rgb */ color: rgb(166, 102, 230);
/* oklch */ color: oklch(63.7% 0.190 304.6);
Tailwind
colors: {
  custom: {
    50: '#c494ee',
    500: '#a666e6',
    950: '#000000',
  },
}
SCSS
$custom: #a666e6;
$custom-light: #c494ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a666e6",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 270,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63657,
    "c": 0.19016,
    "h": 304.6
  },
  "luminance": 0.23323
}

Semantic roles & 50–950 ramp

primary
#A666E6
secondary
#D4EABE
accent
#D41273
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666E6

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

Preview Lab → · Contrast checker → · Palette generator →

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