#A66CE4#A66CE4

#A66CE4 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.179 H 304.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A66CE4
RGBrgb(166, 108, 228)
HSLhsl(269, 69%, 66%)
HSVhsv(269, 53%, 89%)
CMYKcmyk(27.2%, 52.6%, 0%, 10.6%)
CIE-LABlab(56.52, 46.10, -52.57)
CIE-LCHlch(56.52, 69.92, 311.25°)
OKLaboklab(64.44% 0.1004 -0.148)
OKLCHoklch(64.44% 0.179 304.2)
XYZxyz(35.0890, 24.4337, 76.2514)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CE4 #AAE46C
analogous
#6C6EE4 #A66CE4 #E26CE4
triadic
#A66CE4 #E4A66C #6CE4A6
tetradic
#A66CE4 #E46C6E #AAE46C #6CE4E2
square
#A66CE4 #E46C6E #AAE46C #6CE4E2
split-complementary
#A66CE4 #E4E26C #6EE46C
monochromatic
#6821B4 #8738DB #A66CE4 #C5A0ED #E5D3F7

Accessibility & contrast

On white

3.57
#A66CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A66CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CE4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CE4#FFFFFF#000000##000000
##A66CE41.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#5688E1
Tritanopia (blue-blind)
#9B829E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a66ce4;
/* rgb */ color: rgb(166, 108, 228);
/* oklch */ color: oklch(64.4% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#c398ed',
    500: '#a66ce4',
    950: '#000000',
  },
}
SCSS
$custom: #a66ce4;
$custom-light: #c398ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ce4",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 269,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64443,
    "c": 0.17879,
    "h": 304.2
  },
  "luminance": 0.24434
}

Semantic roles & 50–950 ramp

primary
#A66CE4
secondary
#D7EAC2
accent
#D11576
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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