#866CEA#866CEA

#866CEA is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.8% C 0.183 H 289.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#866CEA
RGBrgb(134, 108, 234)
HSLhsl(252, 75%, 67%)
HSVhsv(252, 54%, 92%)
CMYKcmyk(42.7%, 53.8%, 0%, 8.2%)
CIE-LABlab(53.74, 39.97, -60.55)
CIE-LCHlch(53.74, 72.56, 303.43°)
OKLaboklab(61.77% 0.0608 -0.1723)
OKLCHoklch(61.77% 0.183 289.4)
XYZxyz(30.0412, 21.7329, 80.4380)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CEA #D0EA6C
analogous
#6C91EA #866CEA #C56CEA
triadic
#866CEA #EA866C #6CEA86
tetradic
#866CEA #EA6C91 #D0EA6C #6CEAC5
square
#866CEA #EA6C91 #D0EA6C #6CEAC5
split-complementary
#866CEA #EAC56C #91EA6C
monochromatic
#3D1BC0 #5A36E2 #866CEA #B2A2F2 #DED7F9

Accessibility & contrast

On white

3.93
#866CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#866CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CEA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CEA#FFFFFF#000000##000000
##866CEA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EE
Deuteranopia (green-blind)
#307DE7
Tritanopia (blue-blind)
#6987A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866cea;
/* rgb */ color: rgb(134, 108, 234);
/* oklch */ color: oklch(61.8% 0.183 289.4);
Tailwind
colors: {
  custom: {
    50: '#af97f1',
    500: '#866cea',
    950: '#000000',
  },
}
SCSS
$custom: #866cea;
$custom-light: #af97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#866cea",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 252.381,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.18269,
    "h": 289.4
  },
  "luminance": 0.21734
}

Semantic roles & 50–950 ramp

primary
#866CEA
secondary
#E5EDC5
accent
#D70EAE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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