#A66DEB#A66DEB

#A66DEB is a light, vivid violet. Relative luminance 0.250; OKLCH L 65.0% C 0.186 H 302.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A66DEB
RGBrgb(166, 109, 235)
HSLhsl(267, 76%, 67%)
HSVhsv(267, 54%, 92%)
CMYKcmyk(29.4%, 53.6%, 0%, 7.8%)
CIE-LABlab(57.12, 47.23, -55.53)
CIE-LCHlch(57.12, 72.90, 310.38°)
OKLaboklab(65.01% 0.0995 -0.1566)
OKLCHoklch(65.01% 0.186 302.4)
XYZxyz(36.1865, 25.0424, 81.5084)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66DEB #B2EB6D
analogous
#6D73EB #A66DEB #E56DEB
triadic
#A66DEB #EBA66D #6DEBA6
tetradic
#A66DEB #EB6D73 #B2EB6D #6DEBE5
square
#A66DEB #EB6D73 #B2EB6D #6DEBE5
split-complementary
#A66DEB #EBE56D #73EB6D
monochromatic
#671BC3 #8537E4 #A66DEB #C7A3F2 #E8D9FA

Accessibility & contrast

On white

3.50
#A66DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#A66DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66DEB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66DEB#FFFFFF#000000##000000
##A66DEB1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#5189E8
Tritanopia (blue-blind)
#9985A2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a66deb;
/* rgb */ color: rgb(166, 109, 235);
/* oklch */ color: oklch(65.0% 0.186 302.4);
Tailwind
colors: {
  custom: {
    50: '#c498f2',
    500: '#a66deb',
    950: '#000000',
  },
}
SCSS
$custom: #a66deb;
$custom-light: #c498f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66deb",
  "rgb": {
    "r": 166,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 267.143,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6501,
    "c": 0.18555,
    "h": 302.4
  },
  "luminance": 0.25042
}

Semantic roles & 50–950 ramp

primary
#A66DEB
secondary
#DCEEC6
accent
#D80D7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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