#A66AF2#A66AF2

#A66AF2 is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.0% C 0.198 H 301.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A66AF2
RGBrgb(166, 106, 242)
HSLhsl(266, 84%, 68%)
HSVhsv(266, 56%, 95%)
CMYKcmyk(31.4%, 56.2%, 0%, 5.1%)
CIE-LABlab(56.91, 50.52, -59.77)
CIE-LCHlch(56.91, 78.26, 310.20°)
OKLaboklab(64.98% 0.1034 -0.169)
OKLCHoklch(64.98% 0.198 301.5)
XYZxyz(36.9032, 24.8257, 86.8348)
Luminance0.2483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66AF2 #B6F26A
analogous
#6A72F2 #A66AF2 #EA6AF2
triadic
#A66AF2 #F2A66A #6AF2A6
tetradic
#A66AF2 #F26A72 #B6F26A #6AF2EA
square
#A66AF2 #F26A72 #B6F26A #6AF2EA
split-complementary
#A66AF2 #F2EA6A #72F26A
monochromatic
#6612CF #8432ED #A66AF2 #C8A2F7 #E9DBFC

Accessibility & contrast

On white

3.52
#A66AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#A66AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66AF2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66AF2#FFFFFF#000000##000000
##A66AF21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F88F6
Deuteranopia (green-blind)
#4688EF
Tritanopia (blue-blind)
#9785A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66af2;
/* rgb */ color: rgb(166, 106, 242);
/* oklch */ color: oklch(65.0% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#c497f7',
    500: '#a66af2',
    950: '#000000',
  },
}
SCSS
$custom: #a66af2;
$custom-light: #c497f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a66af2",
  "rgb": {
    "r": 166,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 266.471,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64984,
    "c": 0.19817,
    "h": 301.5
  },
  "luminance": 0.24826
}

Semantic roles & 50–950 ramp

primary
#A66AF2
secondary
#DEF1C7
accent
#E00580
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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