#A666EB#A666EB

#A666EB is a light, vivid violet. Relative luminance 0.236; OKLCH L 64.0% C 0.196 H 303.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A666EB
RGBrgb(166, 102, 235)
HSLhsl(269, 77%, 66%)
HSVhsv(269, 57%, 92%)
CMYKcmyk(29.4%, 56.6%, 0%, 7.8%)
CIE-LABlab(55.69, 50.95, -57.81)
CIE-LCHlch(55.69, 77.06, 311.39°)
OKLaboklab(63.96% 0.1082 -0.1633)
OKLCHoklch(63.96% 0.196 303.5)
XYZxyz(35.4693, 23.6080, 81.2693)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666EB #ABEB66
analogous
#6668EB #A666EB #E866EB
triadic
#A666EB #EBA666 #66EBA6
tetradic
#A666EB #EB6668 #ABEB66 #66EBE8
square
#A666EB #EB6668 #ABEB66 #66EBE8
split-complementary
#A666EB #EBE866 #68EB66
monochromatic
#6819BE #8730E4 #A666EB #C59CF2 #E5D2F9

Accessibility & contrast

On white

3.67
#A666EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A666EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666EB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666EB#FFFFFF#000000##000000
##A666EB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#4885E8
Tritanopia (blue-blind)
#99809F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a666eb;
/* rgb */ color: rgb(166, 102, 235);
/* oklch */ color: oklch(64.0% 0.196 303.5);
Tailwind
colors: {
  custom: {
    50: '#c494f2',
    500: '#a666eb',
    950: '#000000',
  },
}
SCSS
$custom: #a666eb;
$custom-light: #c494f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a666eb",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 268.872,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63963,
    "c": 0.19589,
    "h": 303.5
  },
  "luminance": 0.23608
}

Semantic roles & 50–950 ramp

primary
#A666EB
secondary
#D7ECC1
accent
#D90C77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A666EB

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

Preview Lab → · Contrast checker → · Palette generator →

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