#866CEE#866CEE

#866CEE is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.0% C 0.188 H 288.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#866CEE
RGBrgb(134, 108, 238)
HSLhsl(252, 79%, 68%)
HSVhsv(252, 55%, 93%)
CMYKcmyk(43.7%, 54.6%, 0%, 6.7%)
CIE-LABlab(53.99, 41.09, -62.39)
CIE-LCHlch(53.99, 74.71, 303.37°)
OKLaboklab(62.03% 0.0609 -0.1777)
OKLCHoklch(62.03% 0.188 288.9)
XYZxyz(30.6223, 21.9654, 83.4986)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CEE #D4EE6C
analogous
#6C93EE #866CEE #C76CEE
triadic
#866CEE #EE866C #6CEE86
tetradic
#866CEE #EE6C93 #D4EE6C #6CEEC7
square
#866CEE #EE6C93 #D4EE6C #6CEEC7
split-complementary
#866CEE #EEC76C #93EE6C
monochromatic
#3B17C8 #5935E8 #866CEE #B3A3F4 #E0DAFB

Accessibility & contrast

On white

3.89
#866CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#866CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CEE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CEE#FFFFFF#000000##000000
##866CEE1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#297EEB
Tritanopia (blue-blind)
#6788A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866cee;
/* rgb */ color: rgb(134, 108, 238);
/* oklch */ color: oklch(62.0% 0.188 288.9);
Tailwind
colors: {
  custom: {
    50: '#af97f4',
    500: '#866cee',
    950: '#000000',
  },
}
SCSS
$custom: #866cee;
$custom-light: #af97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#866cee",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 252,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62032,
    "c": 0.18783,
    "h": 288.9
  },
  "luminance": 0.21967
}

Semantic roles & 50–950 ramp

primary
#866CEE
secondary
#E7EFC7
accent
#DC0AB2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #866CEE

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

Preview Lab → · Contrast checker → · Palette generator →

#866CEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva