#A66AF7#A66AF7

#A66AF7 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.3% C 0.204 H 300.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A66AF7
RGBrgb(166, 106, 247)
HSLhsl(266, 90%, 69%)
HSVhsv(266, 57%, 97%)
CMYKcmyk(32.8%, 57.1%, 0%, 3.1%)
CIE-LABlab(57.20, 51.73, -62.07)
CIE-LCHlch(57.20, 80.80, 309.81°)
OKLaboklab(65.3% 0.1034 -0.1758)
OKLCHoklch(65.3% 0.204 300.5)
XYZxyz(37.6644, 25.1302, 90.8440)
Luminance0.2513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AF7 #BBF76A
analogous
#6A75F7 #A66AF7 #ED6AF7
triadic
#A66AF7 #F7A66A #6AF7A6
tetradic
#A66AF7 #F76A75 #BBF76A #6AF7ED
square
#A66AF7 #F76A75 #BBF76A #6AF7ED
split-complementary
#A66AF7 #F7ED6A #75F76A
monochromatic
#640CDB #8330F4 #A66AF7 #C9A4FA #EBDEFD

Accessibility & contrast

On white

3.48
#A66AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A66AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AF7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AF7#FFFFFF#000000##000000
##A66AF71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FC
Deuteranopia (green-blind)
#4188F4
Tritanopia (blue-blind)
#9587A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66af7;
/* rgb */ color: rgb(166, 106, 247);
/* oklch */ color: oklch(65.3% 0.204 300.5);
Tailwind
colors: {
  custom: {
    50: '#c597fb',
    500: '#a66af7',
    950: '#000000',
  },
}
SCSS
$custom: #a66af7;
$custom-light: #c597fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a66af7",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 265.532,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65297,
    "c": 0.20397,
    "h": 300.5
  },
  "luminance": 0.2513
}

Semantic roles & 50–950 ramp

primary
#A66AF7
secondary
#E1F3CA
accent
#E60084
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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