#A866EA#A866EA

#A866EA is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.195 H 304.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A866EA
RGBrgb(168, 102, 234)
HSLhsl(270, 76%, 66%)
HSVhsv(270, 56%, 92%)
CMYKcmyk(28.2%, 56.4%, 0%, 8.2%)
CIE-LABlab(55.85, 51.20, -56.98)
CIE-LCHlch(55.85, 76.60, 311.94°)
OKLaboklab(64.11% 0.1107 -0.1608)
OKLCHoklch(64.11% 0.195 304.5)
XYZxyz(35.7479, 23.7682, 80.5304)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866EA #A8EA66
analogous
#6666EA #A866EA #EA66EA
triadic
#A866EA #EAA866 #66EAA8
tetradic
#A866EA #EA6666 #A8EA66 #66EAEA
square
#A866EA #EA6666 #A8EA66 #66EAEA
split-complementary
#A866EA #EAEA66 #66EA66
monochromatic
#6B1ABC #8930E3 #A866EA #C79CF1 #E5D2F9

Accessibility & contrast

On white

3.65
#A866EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A866EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866EA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866EA#FFFFFF#000000##000000
##A866EA1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#4B86E7
Tritanopia (blue-blind)
#9C809E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a866ea;
/* rgb */ color: rgb(168, 102, 234);
/* oklch */ color: oklch(64.1% 0.195 304.5);
Tailwind
colors: {
  custom: {
    50: '#c594f1',
    500: '#a866ea',
    950: '#000000',
  },
}
SCSS
$custom: #a866ea;
$custom-light: #c594f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a866ea",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64112,
    "c": 0.19522,
    "h": 304.5
  },
  "luminance": 0.23768
}

Semantic roles & 50–950 ramp

primary
#A866EA
secondary
#D6ECC0
accent
#D80D73
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A866EA

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

Preview Lab → · Contrast checker → · Palette generator →

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