#A666EE#A666EE

#A666EE is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.199 H 302.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A666EE
RGBrgb(166, 102, 238)
HSLhsl(268, 80%, 67%)
HSVhsv(268, 57%, 93%)
CMYKcmyk(30.3%, 57.1%, 0%, 6.7%)
CIE-LABlab(55.87, 51.67, -59.20)
CIE-LCHlch(55.87, 78.58, 311.11°)
OKLaboklab(64.15% 0.1082 -0.1674)
OKLCHoklch(64.15% 0.199 302.9)
XYZxyz(35.9064, 23.7828, 83.5712)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666EE #AEEE66
analogous
#666AEE #A666EE #EA66EE
triadic
#A666EE #EEA666 #66EEA6
tetradic
#A666EE #EE666A #AEEE66 #66EEEA
square
#A666EE #EE666A #AEEE66 #66EEEA
split-complementary
#A666EE #EEEA66 #6AEE66
monochromatic
#6816C4 #862FE8 #A666EE #C69DF4 #E6D4FA

Accessibility & contrast

On white

3.65
#A666EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A666EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666EE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666EE#FFFFFF#000000##000000
##A666EE1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#4586EB
Tritanopia (blue-blind)
#9881A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a666ee;
/* rgb */ color: rgb(166, 102, 238);
/* oklch */ color: oklch(64.1% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#c494f4',
    500: '#a666ee',
    950: '#000000',
  },
}
SCSS
$custom: #a666ee;
$custom-light: #c494f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a666ee",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 268.235,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64149,
    "c": 0.19932,
    "h": 302.9
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#A666EE
secondary
#D9EEC2
accent
#DC0979
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A666EE

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

Preview Lab → · Contrast checker → · Palette generator →

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