#A66FEE#A66FEE

#A66FEE is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.186 H 301.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A66FEE
RGBrgb(166, 111, 238)
HSLhsl(266, 79%, 68%)
HSVhsv(266, 53%, 93%)
CMYKcmyk(30.3%, 53.4%, 0%, 6.7%)
CIE-LABlab(57.70, 46.87, -56.27)
CIE-LCHlch(57.70, 73.24, 309.79°)
OKLaboklab(65.5% 0.0971 -0.1588)
OKLCHoklch(65.5% 0.186 301.4)
XYZxyz(36.8394, 25.6488, 83.8822)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FEE #B7EE6F
analogous
#6F77EE #A66FEE #E56FEE
triadic
#A66FEE #EEA66F #6FEEA6
tetradic
#A66FEE #EE6F77 #B7EE6F #6FEEE5
square
#A66FEE #EE6F77 #B7EE6F #6FEEE5
split-complementary
#A66FEE #EEE56F #77EE6F
monochromatic
#6518CB #8438E8 #A66FEE #C8A6F4 #EADCFB

Accessibility & contrast

On white

3.43
#A66FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A66FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FEE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FEE#FFFFFF#000000##000000
##A66FEE1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#9888A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a66fee;
/* rgb */ color: rgb(166, 111, 238);
/* oklch */ color: oklch(65.5% 0.186 301.4);
Tailwind
colors: {
  custom: {
    50: '#c49af4',
    500: '#a66fee',
    950: '#000000',
  },
}
SCSS
$custom: #a66fee;
$custom-light: #c49af4;
$custom-dark: #000000;
JSON
{
  "hex": "#a66fee",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 265.984,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65497,
    "c": 0.18613,
    "h": 301.4
  },
  "luminance": 0.25649
}

Semantic roles & 50–950 ramp

primary
#A66FEE
secondary
#DFF0C9
accent
#DB0A81
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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