#A66BE5#A66BE5

#A66BE5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.181 H 304.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A66BE5
RGBrgb(166, 107, 229)
HSLhsl(269, 70%, 66%)
HSVhsv(269, 53%, 90%)
CMYKcmyk(27.5%, 53.3%, 0%, 10.2%)
CIE-LABlab(56.37, 46.88, -53.38)
CIE-LCHlch(56.37, 71.04, 311.29°)
OKLaboklab(64.35% 0.1017 -0.1503)
OKLCHoklch(64.35% 0.181 304.1)
XYZxyz(35.1233, 24.2796, 76.9496)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BE5 #AAE56B
analogous
#6B6DE5 #A66BE5 #E36BE5
triadic
#A66BE5 #E5A66B #6BE5A6
tetradic
#A66BE5 #E56B6D #AAE56B #6BE5E3
square
#A66BE5 #E56B6D #AAE56B #6BE5E3
split-complementary
#A66BE5 #E5E36B #6DE56B
monochromatic
#6820B6 #8737DC #A66BE5 #C59FEE #E5D3F7

Accessibility & contrast

On white

3.59
#A66BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A66BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BE5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BE5#FFFFFF#000000##000000
##A66BE51.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4186E9
Deuteranopia (green-blind)
#5487E2
Tritanopia (blue-blind)
#9B829E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a66be5;
/* rgb */ color: rgb(166, 107, 229);
/* oklch */ color: oklch(64.3% 0.181 304.1);
Tailwind
colors: {
  custom: {
    50: '#c397ee',
    500: '#a66be5',
    950: '#000000',
  },
}
SCSS
$custom: #a66be5;
$custom-light: #c397ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a66be5",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 269.016,
    "s": 70.115,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64348,
    "c": 0.18149,
    "h": 304.1
  },
  "luminance": 0.2428
}

Semantic roles & 50–950 ramp

primary
#A66BE5
secondary
#D7EAC2
accent
#D21376
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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