#A66BE1#A66BE1

#A66BE1 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.1% C 0.177 H 305.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A66BE1
RGBrgb(166, 107, 225)
HSLhsl(270, 66%, 65%)
HSVhsv(270, 52%, 88%)
CMYKcmyk(26.2%, 52.4%, 0%, 11.8%)
CIE-LABlab(56.15, 45.94, -51.48)
CIE-LCHlch(56.15, 69.00, 311.74°)
OKLaboklab(64.11% 0.1015 -0.1448)
OKLCHoklch(64.11% 0.177 305)
XYZxyz(34.5713, 24.0588, 74.0421)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BE1 #A6E16B
analogous
#6B6BE1 #A66BE1 #E16BE1
triadic
#A66BE1 #E1A66B #6BE1A6
tetradic
#A66BE1 #E16B6B #A6E16B #6BE1E1
square
#A66BE1 #E16B6B #A6E16B #6BE1E1
split-complementary
#A66BE1 #E1E16B #6BE16B
monochromatic
#6923AE #8738D7 #A66BE1 #C59EEB #E3D1F6

Accessibility & contrast

On white

3.61
#A66BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A66BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BE1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BE1#FFFFFF#000000##000000
##A66BE11.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#9C819C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66be1;
/* rgb */ color: rgb(166, 107, 225);
/* oklch */ color: oklch(64.1% 0.177 305.0);
Tailwind
colors: {
  custom: {
    50: '#c397eb',
    500: '#a66be1',
    950: '#000000',
  },
}
SCSS
$custom: #a66be1;
$custom-light: #c397eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a66be1",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 225
  },
  "hsl": {
    "h": 270,
    "s": 66.292,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64115,
    "c": 0.1768,
    "h": 305
  },
  "luminance": 0.24059
}

Semantic roles & 50–950 ramp

primary
#A66BE1
secondary
#D4E8C0
accent
#CE1773
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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