#A666EC#A666EC

#A666EC is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.197 H 303.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A666EC
RGBrgb(166, 102, 236)
HSLhsl(269, 78%, 66%)
HSVhsv(269, 57%, 93%)
CMYKcmyk(29.7%, 56.8%, 0%, 7.5%)
CIE-LABlab(55.75, 51.19, -58.28)
CIE-LCHlch(55.75, 77.57, 311.30°)
OKLaboklab(64.03% 0.1082 -0.1646)
OKLCHoklch(64.03% 0.197 303.3)
XYZxyz(35.6142, 23.6659, 82.0323)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666EC #ACEC66
analogous
#6669EC #A666EC #E966EC
triadic
#A666EC #ECA666 #66ECA6
tetradic
#A666EC #EC6669 #ACEC66 #66ECE9
square
#A666EC #EC6669 #ACEC66 #66ECE9
split-complementary
#A666EC #ECE966 #69EC66
monochromatic
#6818C0 #8630E5 #A666EC #C69CF3 #E5D3FA

Accessibility & contrast

On white

3.66
#A666EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A666EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666EC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666EC#FFFFFF#000000##000000
##A666EC1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#99809F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a666ec;
/* rgb */ color: rgb(166, 102, 236);
/* oklch */ color: oklch(64.0% 0.197 303.3);
Tailwind
colors: {
  custom: {
    50: '#c494f3',
    500: '#a666ec',
    950: '#000000',
  },
}
SCSS
$custom: #a666ec;
$custom-light: #c494f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a666ec",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 268.657,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64025,
    "c": 0.19703,
    "h": 303.3
  },
  "luminance": 0.23666
}

Semantic roles & 50–950 ramp

primary
#A666EC
secondary
#D8EDC1
accent
#DA0B77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A666EC

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

Preview Lab → · Contrast checker → · Palette generator →

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