#A66FEB#A66FEB

#A66FEB is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.183 H 302.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A66FEB
RGBrgb(166, 111, 235)
HSLhsl(267, 76%, 68%)
HSVhsv(267, 53%, 92%)
CMYKcmyk(29.4%, 52.8%, 0%, 7.8%)
CIE-LABlab(57.53, 46.15, -54.87)
CIE-LCHlch(57.53, 71.69, 310.07°)
OKLaboklab(65.32% 0.0969 -0.1547)
OKLCHoklch(65.32% 0.183 302.1)
XYZxyz(36.4023, 25.4740, 81.5803)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FEB #B4EB6F
analogous
#6F76EB #A66FEB #E46FEB
triadic
#A66FEB #EBA66F #6FEBA6
tetradic
#A66FEB #EB6F76 #B4EB6F #6FEBE4
square
#A66FEB #EB6F76 #B4EB6F #6FEBE4
split-complementary
#A66FEB #EBE46F #76EB6F
monochromatic
#661BC4 #8539E4 #A66FEB #C7A5F2 #E8DAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A66FEB#FFFFFF#000000##000000
##A66FEB1.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)
#4289EF
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#9987A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a66feb;
/* rgb */ color: rgb(166, 111, 235);
/* oklch */ color: oklch(65.3% 0.183 302.1);
Tailwind
colors: {
  custom: {
    50: '#c49af2',
    500: '#a66feb',
    950: '#000000',
  },
}
SCSS
$custom: #a66feb;
$custom-light: #c49af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66feb",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 266.613,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65319,
    "c": 0.18255,
    "h": 302.1
  },
  "luminance": 0.25474
}

Semantic roles & 50–950 ramp

primary
#A66FEB
secondary
#DDEEC8
accent
#D80E7E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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