#A66FF2#A66FF2

#A66FF2 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.191 H 300.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A66FF2
RGBrgb(166, 111, 242)
HSLhsl(265, 83%, 69%)
HSVhsv(265, 54%, 95%)
CMYKcmyk(31.4%, 54.1%, 0%, 5.1%)
CIE-LABlab(57.93, 47.84, -58.13)
CIE-LCHlch(57.93, 75.29, 309.45°)
OKLaboklab(65.74% 0.0973 -0.1642)
OKLCHoklch(65.74% 0.191 300.6)
XYZxyz(37.4336, 25.8865, 87.0116)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FF2 #BBF26F
analogous
#6F7AF2 #A66FF2 #E86FF2
triadic
#A66FF2 #F2A66F #6FF2A6
tetradic
#A66FF2 #F26F7A #BBF26F #6FF2E8
square
#A66FF2 #F26F7A #BBF26F #6FF2E8
split-complementary
#A66FF2 #F2E86F #7AF26F
monochromatic
#6413D4 #8337ED #A66FF2 #C9A7F7 #EBDFFC

Accessibility & contrast

On white

3.40
#A66FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A66FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FF2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FF2#FFFFFF#000000##000000
##A66FF21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#9789A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a66ff2;
/* rgb */ color: rgb(166, 111, 242);
/* oklch */ color: oklch(65.7% 0.191 300.6);
Tailwind
colors: {
  custom: {
    50: '#c49af7',
    500: '#a66ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a66ff2;
$custom-light: #c49af7;
$custom-dark: #000000;
JSON
{
  "hex": "#a66ff2",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 265.191,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65738,
    "c": 0.19089,
    "h": 300.6
  },
  "luminance": 0.25887
}

Semantic roles & 50–950 ramp

primary
#A66FF2
secondary
#E1F1CB
accent
#E00684
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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