#A66AF1#A66AF1

#A66AF1 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.9% C 0.197 H 301.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A66AF1
RGBrgb(166, 106, 241)
HSLhsl(267, 83%, 68%)
HSVhsv(267, 56%, 95%)
CMYKcmyk(31.1%, 56%, 0%, 5.5%)
CIE-LABlab(56.85, 50.28, -59.31)
CIE-LCHlch(56.85, 77.75, 310.29°)
OKLaboklab(64.92% 0.1034 -0.1677)
OKLCHoklch(64.92% 0.197 301.7)
XYZxyz(36.7534, 24.7658, 86.0460)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AF1 #B5F16A
analogous
#6A71F1 #A66AF1 #EA6AF1
triadic
#A66AF1 #F1A66A #6AF1A6
tetradic
#A66AF1 #F16A71 #B5F16A #6AF1EA
square
#A66AF1 #F16A71 #B5F16A #6AF1EA
split-complementary
#A66AF1 #F1EA6A #71F16A
monochromatic
#6613CD #8532EC #A66AF1 #C7A2F6 #E9DAFC

Accessibility & contrast

On white

3.53
#A66AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#A66AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AF1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AF1#FFFFFF#000000##000000
##A66AF11.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F5
Deuteranopia (green-blind)
#4788EE
Tritanopia (blue-blind)
#9785A4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a66af1;
/* rgb */ color: rgb(166, 106, 241);
/* oklch */ color: oklch(64.9% 0.197 301.7);
Tailwind
colors: {
  custom: {
    50: '#c497f6',
    500: '#a66af1',
    950: '#000000',
  },
}
SCSS
$custom: #a66af1;
$custom-light: #c497f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a66af1",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 241
  },
  "hsl": {
    "h": 266.667,
    "s": 82.822,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.197,
    "h": 301.7
  },
  "luminance": 0.24766
}

Semantic roles & 50–950 ramp

primary
#A66AF1
secondary
#DEF0C7
accent
#DF067F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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