#866CEC#866CEC

#866CEC is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.9% C 0.185 H 289.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#866CEC
RGBrgb(134, 108, 236)
HSLhsl(252, 77%, 67%)
HSVhsv(252, 54%, 93%)
CMYKcmyk(43.2%, 54.2%, 0%, 7.5%)
CIE-LABlab(53.87, 40.53, -61.47)
CIE-LCHlch(53.87, 73.63, 303.40°)
OKLaboklab(61.9% 0.0609 -0.175)
OKLCHoklch(61.9% 0.185 289.2)
XYZxyz(30.3301, 21.8485, 81.9597)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CEC #D2EC6C
analogous
#6C92EC #866CEC #C66CEC
triadic
#866CEC #EC866C #6CEC86
tetradic
#866CEC #EC6C92 #D2EC6C #6CECC6
square
#866CEC #EC6C92 #D2EC6C #6CECC6
split-complementary
#866CEC #ECC66C #92EC6C
monochromatic
#3C19C4 #5936E5 #866CEC #B3A2F3 #DFD8FA

Accessibility & contrast

On white

3.91
#866CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#866CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CEC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CEC#FFFFFF#000000##000000
##866CEC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983F0
Deuteranopia (green-blind)
#2C7EE9
Tritanopia (blue-blind)
#6888A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866cec;
/* rgb */ color: rgb(134, 108, 236);
/* oklch */ color: oklch(61.9% 0.185 289.2);
Tailwind
colors: {
  custom: {
    50: '#af97f3',
    500: '#866cec',
    950: '#000000',
  },
}
SCSS
$custom: #866cec;
$custom-light: #af97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#866cec",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 252.188,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.619,
    "c": 0.18527,
    "h": 289.2
  },
  "luminance": 0.2185
}

Semantic roles & 50–950 ramp

primary
#866CEC
secondary
#E6EEC6
accent
#D90CB0
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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