#866CE9#866CE9

#866CE9 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.7% C 0.181 H 289.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#866CE9
RGBrgb(134, 108, 233)
HSLhsl(252, 74%, 67%)
HSVhsv(252, 54%, 91%)
CMYKcmyk(42.5%, 53.6%, 0%, 8.6%)
CIE-LABlab(53.68, 39.70, -60.09)
CIE-LCHlch(53.68, 72.02, 303.45°)
OKLaboklab(61.7% 0.0608 -0.1709)
OKLCHoklch(61.7% 0.181 289.6)
XYZxyz(29.8980, 21.6756, 79.6835)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CE9 #CFE96C
analogous
#6C91E9 #866CE9 #C56CE9
triadic
#866CE9 #E9866C #6CE986
tetradic
#866CE9 #E96C91 #CFE96C #6CE9C5
square
#866CE9 #E96C91 #CFE96C #6CE9C5
split-complementary
#866CE9 #E9C56C #91E96C
monochromatic
#3E1CBE #5A37E1 #866CE9 #B2A1F1 #DED6F9

Accessibility & contrast

On white

3.94
#866CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#866CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CE9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CE9#FFFFFF#000000##000000
##866CE91.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83ED
Deuteranopia (green-blind)
#317DE6
Tritanopia (blue-blind)
#6987A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866ce9;
/* rgb */ color: rgb(134, 108, 233);
/* oklch */ color: oklch(61.7% 0.181 289.6);
Tailwind
colors: {
  custom: {
    50: '#af97f1',
    500: '#866ce9',
    950: '#000000',
  },
}
SCSS
$custom: #866ce9;
$custom-light: #af97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#866ce9",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 233
  },
  "hsl": {
    "h": 252.48,
    "s": 73.964,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61704,
    "c": 0.18141,
    "h": 289.6
  },
  "luminance": 0.21677
}

Semantic roles & 50–950 ramp

primary
#866CE9
secondary
#E4ECC4
accent
#D60FAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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