#866EE4#866EE4

#866EE4 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.172 H 289.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#866EE4
RGBrgb(134, 110, 228)
HSLhsl(252, 69%, 66%)
HSVhsv(252, 52%, 89%)
CMYKcmyk(41.2%, 51.8%, 0%, 10.6%)
CIE-LABlab(53.84, 37.16, -57.04)
CIE-LCHlch(53.84, 68.07, 303.08°)
OKLaboklab(61.72% 0.0582 -0.1619)
OKLCHoklch(61.72% 0.172 289.8)
XYZxyz(29.4072, 21.8207, 76.0461)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EE4 #CCE46E
analogous
#6E91E4 #866EE4 #C16EE4
triadic
#866EE4 #E4866E #6EE486
tetradic
#866EE4 #E46E91 #CCE46E #6EE4C1
square
#866EE4 #E46E91 #CCE46E #6EE4C1
split-complementary
#866EE4 #E4C16E #91E46E
monochromatic
#4022B6 #5B3ADA #866EE4 #B1A2EE #DCD5F7

Accessibility & contrast

On white

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

On black

5.36
#866EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EE4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EE4#FFFFFF#000000##000000
##866EE41.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E8
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#6C879F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866ee4;
/* rgb */ color: rgb(134, 110, 228);
/* oklch */ color: oklch(61.7% 0.172 289.8);
Tailwind
colors: {
  custom: {
    50: '#ae98ed',
    500: '#866ee4',
    950: '#000000',
  },
}
SCSS
$custom: #866ee4;
$custom-light: #ae98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#866ee4",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 252.203,
    "s": 68.605,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.17207,
    "h": 289.8
  },
  "luminance": 0.21822
}

Semantic roles & 50–950 ramp

primary
#866EE4
secondary
#E2EAC4
accent
#D115AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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