#A866E4#A866E4

#A866E4 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.7% C 0.188 H 305.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A866E4
RGBrgb(168, 102, 228)
HSLhsl(271, 70%, 65%)
HSVhsv(271, 55%, 89%)
CMYKcmyk(26.3%, 55.3%, 0%, 10.6%)
CIE-LABlab(55.51, 49.80, -54.17)
CIE-LCHlch(55.51, 73.58, 312.60°)
OKLaboklab(63.75% 0.1105 -0.1525)
OKLCHoklch(63.75% 0.188 305.9)
XYZxyz(34.9005, 23.4293, 76.0674)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A866E4 #A2E466
analogous
#6966E4 #A866E4 #E466E1
triadic
#A866E4 #E4A866 #66E4A8
tetradic
#A866E4 #E46966 #A2E466 #66E1E4
square
#A866E4 #E46966 #A2E466 #66E1E4
split-complementary
#A866E4 #E1E466 #66E469
monochromatic
#6B1FB0 #8A32DB #A866E4 #C69AED #E3CEF6

Accessibility & contrast

On white

3.69
#A866E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A866E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A866E4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A866E4#FFFFFF#000000##000000
##A866E41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E8
Deuteranopia (green-blind)
#5185E1
Tritanopia (blue-blind)
#9E7E9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a866e4;
/* rgb */ color: rgb(168, 102, 228);
/* oklch */ color: oklch(63.7% 0.188 305.9);
Tailwind
colors: {
  custom: {
    50: '#c594ed',
    500: '#a866e4',
    950: '#000000',
  },
}
SCSS
$custom: #a866e4;
$custom-light: #c594ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a866e4",
  "rgb": {
    "r": 168,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 271.429,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6375,
    "c": 0.18839,
    "h": 305.9
  },
  "luminance": 0.23429
}

Semantic roles & 50–950 ramp

primary
#A866E4
secondary
#D2E9BD
accent
#D2146E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A866E4

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

Preview Lab → · Contrast checker → · Palette generator →

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