#A86CEE#A86CEE

#A86CEE is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.2% C 0.191 H 302.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A86CEE
RGBrgb(168, 108, 238)
HSLhsl(268, 79%, 68%)
HSVhsv(268, 55%, 93%)
CMYKcmyk(29.4%, 54.6%, 0%, 6.7%)
CIE-LABlab(57.29, 48.97, -56.91)
CIE-LCHlch(57.29, 75.08, 310.71°)
OKLaboklab(65.24% 0.1033 -0.1606)
OKLCHoklch(65.24% 0.191 302.8)
XYZxyz(36.9401, 25.2230, 83.7948)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A86CEE #B2EE6C
analogous
#6C71EE #A86CEE #E96CEE
triadic
#A86CEE #EEA86C #6CEEA8
tetradic
#A86CEE #EE6C71 #B2EE6C #6CEEE9
square
#A86CEE #EE6C71 #B2EE6C #6CEEE9
split-complementary
#A86CEE #EEE96C #71EE6C
monochromatic
#6917C8 #8835E8 #A86CEE #C8A3F4 #E9DAFB

Accessibility & contrast

On white

3.47
#A86CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A86CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A86CEE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A86CEE#FFFFFF#000000##000000
##A86CEE1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#4F89EB
Tritanopia (blue-blind)
#9B85A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a86cee;
/* rgb */ color: rgb(168, 108, 238);
/* oklch */ color: oklch(65.2% 0.191 302.8);
Tailwind
colors: {
  custom: {
    50: '#c598f4',
    500: '#a86cee',
    950: '#000000',
  },
}
SCSS
$custom: #a86cee;
$custom-light: #c598f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a86cee",
  "rgb": {
    "r": 168,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 267.692,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65242,
    "c": 0.19099,
    "h": 302.8
  },
  "luminance": 0.25223
}

Semantic roles & 50–950 ramp

primary
#A86CEE
secondary
#DCEFC7
accent
#DC0A7B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A86CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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