#A66BEB#A66BEB

#A66BEB is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.189 H 302.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A66BEB
RGBrgb(166, 107, 235)
HSLhsl(268, 76%, 67%)
HSVhsv(268, 54%, 92%)
CMYKcmyk(29.4%, 54.5%, 0%, 7.8%)
CIE-LABlab(56.70, 48.30, -56.19)
CIE-LCHlch(56.70, 74.10, 310.68°)
OKLaboklab(64.71% 0.102 -0.1586)
OKLCHoklch(64.71% 0.189 302.8)
XYZxyz(35.9756, 24.6205, 81.4381)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BEB #B0EB6B
analogous
#6B70EB #A66BEB #E66BEB
triadic
#A66BEB #EBA66B #6BEBA6
tetradic
#A66BEB #EB6B70 #B0EB6B #6BEBE6
square
#A66BEB #EB6B70 #B0EB6B #6BEBE6
split-complementary
#A66BEB #EBE66B #70EB6B
monochromatic
#671AC1 #8635E4 #A66BEB #C6A1F2 #E7D7FA

Accessibility & contrast

On white

3.54
#A66BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A66BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BEB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BEB#FFFFFF#000000##000000
##A66BEB1.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#9984A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a66beb;
/* rgb */ color: rgb(166, 107, 235);
/* oklch */ color: oklch(64.7% 0.189 302.8);
Tailwind
colors: {
  custom: {
    50: '#c497f2',
    500: '#a66beb',
    950: '#000000',
  },
}
SCSS
$custom: #a66beb;
$custom-light: #c497f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a66beb",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 267.656,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64706,
    "c": 0.18853,
    "h": 302.8
  },
  "luminance": 0.24621
}

Semantic roles & 50–950 ramp

primary
#A66BEB
secondary
#DAEDC5
accent
#D80D7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A66BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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