#A66CF5#A66CF5

#A66CF5 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.5% C 0.199 H 300.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A66CF5
RGBrgb(166, 108, 245)
HSLhsl(265, 87%, 69%)
HSVhsv(265, 56%, 96%)
CMYKcmyk(32.2%, 55.9%, 0%, 3.9%)
CIE-LABlab(57.49, 50.18, -60.51)
CIE-LCHlch(57.49, 78.61, 309.67°)
OKLaboklab(65.47% 0.101 -0.1712)
OKLCHoklch(65.47% 0.199 300.5)
XYZxyz(37.5660, 25.4245, 89.2968)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66CF5 #BBF56C
analogous
#6C77F5 #A66CF5 #EA6CF5
triadic
#A66CF5 #F5A66C #6CF5A6
tetradic
#A66CF5 #F56C77 #BBF56C #6CF5EA
square
#A66CF5 #F56C77 #BBF56C #6CF5EA
split-complementary
#A66CF5 #F5EA6C #77F56C
monochromatic
#640FD8 #8333F1 #A66CF5 #C9A5F9 #EBDFFD

Accessibility & contrast

On white

3.45
#A66CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A66CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66CF5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66CF5#FFFFFF#000000##000000
##A66CF51.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8AFA
Deuteranopia (green-blind)
#4689F2
Tritanopia (blue-blind)
#9688A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66cf5;
/* rgb */ color: rgb(166, 108, 245);
/* oklch */ color: oklch(65.5% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#c498f9',
    500: '#a66cf5',
    950: '#000000',
  },
}
SCSS
$custom: #a66cf5;
$custom-light: #c498f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a66cf5",
  "rgb": {
    "r": 166,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 265.401,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65468,
    "c": 0.19879,
    "h": 300.5
  },
  "luminance": 0.25425
}

Semantic roles & 50–950 ramp

primary
#A66CF5
secondary
#E1F2CA
accent
#E40284
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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