#A66AFC#A66AFC

#A66AFC is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.6% C 0.210 H 299.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A66AFC
RGBrgb(166, 106, 252)
HSLhsl(265, 96%, 70%)
HSVhsv(265, 58%, 99%)
CMYKcmyk(34.1%, 57.9%, 0%, 1.2%)
CIE-LABlab(57.50, 52.95, -64.35)
CIE-LCHlch(57.50, 83.34, 309.45°)
OKLaboklab(65.62% 0.1034 -0.1825)
OKLCHoklch(65.62% 0.21 299.5)
XYZxyz(38.4463, 25.4430, 94.9621)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AFC #C0FC6A
analogous
#6A77FC #A66AFC #EF6AFC
triadic
#A66AFC #FCA66A #6AFCA6
tetradic
#A66AFC #FC6A77 #C0FC6A #6AFCEF
square
#A66AFC #FC6A77 #C0FC6A #6AFCEF
split-complementary
#A66AFC #FCEF6A #77FC6A
monochromatic
#6205E7 #822EFB #A66AFC #CAA6FD #EDE1FE

Accessibility & contrast

On white

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

On black

6.09
#A66AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AFC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AFC#FFFFFF#000000##000000
##A66AFC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A8AFF
Deuteranopia (green-blind)
#3A89F9
Tritanopia (blue-blind)
#9388A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66afc;
/* rgb */ color: rgb(166, 106, 252);
/* oklch */ color: oklch(65.6% 0.210 299.5);
Tailwind
colors: {
  custom: {
    50: '#c597fe',
    500: '#a66afc',
    950: '#000000',
  },
}
SCSS
$custom: #a66afc;
$custom-light: #c597fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a66afc",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 264.658,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65616,
    "c": 0.20976,
    "h": 299.5
  },
  "luminance": 0.25443
}

Semantic roles & 50–950 ramp

primary
#A66AFC
secondary
#E5F5CD
accent
#E60087
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A66AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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