#A66AFA#A66AFA

#A66AFA is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.5% C 0.207 H 299.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A66AFA
RGBrgb(166, 106, 250)
HSLhsl(265, 94%, 70%)
HSVhsv(265, 58%, 98%)
CMYKcmyk(33.6%, 57.6%, 0%, 2%)
CIE-LABlab(57.38, 52.46, -63.44)
CIE-LCHlch(57.38, 82.32, 309.59°)
OKLaboklab(65.49% 0.1034 -0.1798)
OKLCHoklch(65.49% 0.207 299.9)
XYZxyz(38.1311, 25.3169, 93.3017)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AFA #BEFA6A
analogous
#6A76FA #A66AFA #EE6AFA
triadic
#A66AFA #FAA66A #6AFAA6
tetradic
#A66AFA #FA6A76 #BEFA6A #6AFAEE
square
#A66AFA #FA6A76 #BEFA6A #6AFAEE
split-complementary
#A66AFA #FAEE6A #76FA6A
monochromatic
#6308E2 #832FF8 #A66AFA #C9A5FC #EDE0FE

Accessibility & contrast

On white

3.46
#A66AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A66AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AFA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AFA#FFFFFF#000000##000000
##A66AFA1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F89FF
Deuteranopia (green-blind)
#3D89F7
Tritanopia (blue-blind)
#9488A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66afa;
/* rgb */ color: rgb(166, 106, 250);
/* oklch */ color: oklch(65.5% 0.207 299.9);
Tailwind
colors: {
  custom: {
    50: '#c597fd',
    500: '#a66afa',
    950: '#000000',
  },
}
SCSS
$custom: #a66afa;
$custom-light: #c597fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a66afa",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 265,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65488,
    "c": 0.20744,
    "h": 299.9
  },
  "luminance": 0.25317
}

Semantic roles & 50–950 ramp

primary
#A66AFA
secondary
#E3F4CC
accent
#E60086
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A66AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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