#866BEA#866BEA

#866BEA is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.6% C 0.184 H 289.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#866BEA
RGBrgb(134, 107, 234)
HSLhsl(253, 75%, 67%)
HSVhsv(253, 54%, 92%)
CMYKcmyk(42.7%, 54.3%, 0%, 8.2%)
CIE-LABlab(53.52, 40.55, -60.92)
CIE-LCHlch(53.52, 73.18, 303.65°)
OKLaboklab(61.6% 0.062 -0.1733)
OKLCHoklch(61.6% 0.184 289.7)
XYZxyz(29.9363, 21.5232, 80.4030)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BEA #CFEA6B
analogous
#6B90EA #866BEA #C66BEA
triadic
#866BEA #EA866B #6BEA86
tetradic
#866BEA #EA6B90 #CFEA6B #6BEAC6
square
#866BEA #EA6B90 #CFEA6B #6BEAC6
split-complementary
#866BEA #EAC66B #90EA6B
monochromatic
#3E1BBF #5A35E2 #866BEA #B2A1F2 #DED6F9

Accessibility & contrast

On white

3.96
#866BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#866BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BEA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BEA#FFFFFF#000000##000000
##866BEA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#2D7DE7
Tritanopia (blue-blind)
#6986A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866bea;
/* rgb */ color: rgb(134, 107, 234);
/* oklch */ color: oklch(61.6% 0.184 289.7);
Tailwind
colors: {
  custom: {
    50: '#af96f1',
    500: '#866bea',
    950: '#000000',
  },
}
SCSS
$custom: #866bea;
$custom-light: #af96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#866bea",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 252.756,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.18409,
    "h": 289.7
  },
  "luminance": 0.21524
}

Semantic roles & 50–950 ramp

primary
#866BEA
secondary
#E4EDC4
accent
#D70EAD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #866BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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