#A666EF#A666EF

#A666EF is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.2% C 0.200 H 302.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A666EF
RGBrgb(166, 102, 239)
HSLhsl(268, 81%, 67%)
HSVhsv(268, 57%, 94%)
CMYKcmyk(30.5%, 57.3%, 0%, 6.3%)
CIE-LABlab(55.93, 51.90, -59.67)
CIE-LCHlch(55.93, 79.08, 311.02°)
OKLaboklab(64.21% 0.1082 -0.1687)
OKLCHoklch(64.21% 0.2 302.7)
XYZxyz(36.0537, 23.8417, 84.3471)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666EF #AFEF66
analogous
#666BEF #A666EF #EA66EF
triadic
#A666EF #EFA666 #66EFA6
tetradic
#A666EF #EF666B #AFEF66 #66EFEA
square
#A666EF #EF666B #AFEF66 #66EFEA
split-complementary
#A666EF #EFEA66 #6BEF66
monochromatic
#6715C6 #862FE9 #A666EF #C69DF5 #E6D5FB

Accessibility & contrast

On white

3.64
#A666EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A666EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666EF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666EF#FFFFFF#000000##000000
##A666EF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F3
Deuteranopia (green-blind)
#4486EC
Tritanopia (blue-blind)
#9881A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a666ef;
/* rgb */ color: rgb(166, 102, 239);
/* oklch */ color: oklch(64.2% 0.200 302.7);
Tailwind
colors: {
  custom: {
    50: '#c494f5',
    500: '#a666ef',
    950: '#000000',
  },
}
SCSS
$custom: #a666ef;
$custom-light: #c494f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a666ef",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 268.029,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.20046,
    "h": 302.7
  },
  "luminance": 0.23842
}

Semantic roles & 50–950 ramp

primary
#A666EF
secondary
#DAEEC2
accent
#DD087A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A666EF

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

Preview Lab → · Contrast checker → · Palette generator →

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