#A66AE5#A66AE5

#A66AE5 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.2% C 0.183 H 304.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A66AE5
RGBrgb(166, 106, 229)
HSLhsl(269, 70%, 66%)
HSVhsv(269, 54%, 90%)
CMYKcmyk(27.5%, 53.7%, 0%, 10.2%)
CIE-LABlab(56.16, 47.41, -53.71)
CIE-LCHlch(56.16, 71.64, 311.44°)
OKLaboklab(64.2% 0.103 -0.1513)
OKLCHoklch(64.2% 0.183 304.3)
XYZxyz(35.0197, 24.0723, 76.9151)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AE5 #A9E56A
analogous
#6A6BE5 #A66AE5 #E36AE5
triadic
#A66AE5 #E5A66A #6AE5A6
tetradic
#A66AE5 #E56A6B #A9E56A #6AE5E3
square
#A66AE5 #E56A6B #A9E56A #6AE5E3
split-complementary
#A66AE5 #E5E36A #6BE56A
monochromatic
#6820B5 #8736DC #A66AE5 #C59EEE #E4D2F7

Accessibility & contrast

On white

3.61
#A66AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A66AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AE5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AE5#FFFFFF#000000##000000
##A66AE51.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E9
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#9B819E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66ae5;
/* rgb */ color: rgb(166, 106, 229);
/* oklch */ color: oklch(64.2% 0.183 304.3);
Tailwind
colors: {
  custom: {
    50: '#c496ee',
    500: '#a66ae5',
    950: '#000000',
  },
}
SCSS
$custom: #a66ae5;
$custom-light: #c496ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ae5",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 269.268,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.18301,
    "h": 304.3
  },
  "luminance": 0.24072
}

Semantic roles & 50–950 ramp

primary
#A66AE5
secondary
#D6EAC1
accent
#D21375
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A66AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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