#A66AEE#A66AEE

#A66AEE is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.194 H 302.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A66AEE
RGBrgb(166, 106, 238)
HSLhsl(267, 80%, 67%)
HSVhsv(267, 55%, 93%)
CMYKcmyk(30.3%, 55.5%, 0%, 6.7%)
CIE-LABlab(56.67, 49.55, -57.92)
CIE-LCHlch(56.67, 76.22, 310.55°)
OKLaboklab(64.74% 0.1033 -0.1636)
OKLCHoklch(64.74% 0.194 302.3)
XYZxyz(36.3090, 24.5881, 83.7054)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AEE #B2EE6A
analogous
#6A70EE #A66AEE #E86AEE
triadic
#A66AEE #EEA66A #6AEEA6
tetradic
#A66AEE #EE6A70 #B2EE6A #6AEEE8
square
#A66AEE #EE6A70 #B2EE6A #6AEEE8
split-complementary
#A66AEE #EEE86A #70EE6A
monochromatic
#6717C7 #8533E8 #A66AEE #C7A1F4 #E8D8FB

Accessibility & contrast

On white

3.55
#A66AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A66AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AEE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AEE#FFFFFF#000000##000000
##A66AEE1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#4A88EB
Tritanopia (blue-blind)
#9884A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a66aee;
/* rgb */ color: rgb(166, 106, 238);
/* oklch */ color: oklch(64.7% 0.194 302.3);
Tailwind
colors: {
  custom: {
    50: '#c497f4',
    500: '#a66aee',
    950: '#000000',
  },
}
SCSS
$custom: #a66aee;
$custom-light: #c497f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a66aee",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 267.273,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.19351,
    "h": 302.3
  },
  "luminance": 0.24588
}

Semantic roles & 50–950 ramp

primary
#A66AEE
secondary
#DCEFC5
accent
#DC0A7C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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