#A66FF5#A66FF5

#A66FF5 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.194 H 300.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A66FF5
RGBrgb(166, 111, 245)
HSLhsl(265, 87%, 70%)
HSVhsv(265, 55%, 96%)
CMYKcmyk(32.2%, 54.7%, 0%, 3.9%)
CIE-LABlab(58.10, 48.58, -59.52)
CIE-LCHlch(58.10, 76.83, 309.22°)
OKLaboklab(65.92% 0.0974 -0.1683)
OKLCHoklch(65.92% 0.194 300)
XYZxyz(37.8878, 26.0682, 89.4041)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FF5 #BEF56F
analogous
#6F7BF5 #A66FF5 #E96FF5
triadic
#A66FF5 #F5A66F #6FF5A6
tetradic
#A66FF5 #F56F7B #BEF56F #6FF5E9
square
#A66FF5 #F56F7B #BEF56F #6FF5E9
split-complementary
#A66FF5 #F5E96F #7BF56F
monochromatic
#630FDA #8336F1 #A66FF5 #C9A8F9 #EDE1FD

Accessibility & contrast

On white

3.38
#A66FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A66FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FF5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FF5#FFFFFF#000000##000000
##A66FF51.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#378BF9
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#968AA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a66ff5;
/* rgb */ color: rgb(166, 111, 245);
/* oklch */ color: oklch(65.9% 0.194 300.0);
Tailwind
colors: {
  custom: {
    50: '#c49af9',
    500: '#a66ff5',
    950: '#000000',
  },
}
SCSS
$custom: #a66ff5;
$custom-light: #c49af9;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ff5",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 264.627,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65921,
    "c": 0.19445,
    "h": 300
  },
  "luminance": 0.26068
}

Semantic roles & 50–950 ramp

primary
#A66FF5
secondary
#E3F3CD
accent
#E40287
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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