#A66CE3#A66CE3

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

Color values

HEX#A66CE3
RGBrgb(166, 108, 227)
HSLhsl(269, 68%, 66%)
HSVhsv(269, 52%, 89%)
CMYKcmyk(26.9%, 52.4%, 0%, 11%)
CIE-LABlab(56.46, 45.87, -52.10)
CIE-LCHlch(56.46, 69.41, 311.36°)
OKLaboklab(64.39% 0.1003 -0.1466)
OKLCHoklch(64.39% 0.178 304.4)
XYZxyz(34.9506, 24.3783, 75.5224)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CE3 #A9E36C
analogous
#6C6DE3 #A66CE3 #E26CE3
triadic
#A66CE3 #E3A66C #6CE3A6
tetradic
#A66CE3 #E36C6D #A9E36C #6CE3E2
square
#A66CE3 #E36C6D #A9E36C #6CE3E2
split-complementary
#A66CE3 #E3E26C #6DE36C
monochromatic
#6822B3 #8739D9 #A66CE3 #C59FED #E4D3F7

Accessibility & contrast

On white

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

On black

5.88
#A66CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CE3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CE3#FFFFFF#000000##000000
##A66CE31.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E7
Deuteranopia (green-blind)
#5687E0
Tritanopia (blue-blind)
#9B829D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66ce3;
/* rgb */ color: rgb(166, 108, 227);
/* oklch */ color: oklch(64.4% 0.178 304.4);
Tailwind
colors: {
  custom: {
    50: '#c398ec',
    500: '#a66ce3',
    950: '#000000',
  },
}
SCSS
$custom: #a66ce3;
$custom-light: #c398ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ce3",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 227
  },
  "hsl": {
    "h": 269.244,
    "s": 68,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64385,
    "c": 0.17762,
    "h": 304.4
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#A66CE3
secondary
#D6E9C2
accent
#D01675
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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