#866CE4#866CE4

#866CE4 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.4% C 0.175 H 290.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#866CE4
RGBrgb(134, 108, 228)
HSLhsl(253, 69%, 66%)
HSVhsv(253, 53%, 89%)
CMYKcmyk(41.2%, 52.6%, 0%, 10.6%)
CIE-LABlab(53.38, 38.31, -57.77)
CIE-LCHlch(53.38, 69.32, 303.55°)
OKLaboklab(61.38% 0.0606 -0.1641)
OKLCHoklch(61.38% 0.175 290.3)
XYZxyz(29.1938, 21.3940, 75.9750)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CE4 #CAE46C
analogous
#6C8EE4 #866CE4 #C26CE4
triadic
#866CE4 #E4866C #6CE486
tetradic
#866CE4 #E46C8E #CAE46C #6CE4C2
square
#866CE4 #E46C8E #CAE46C #6CE4C2
split-complementary
#866CE4 #E4C26C #8EE46C
monochromatic
#4121B4 #5B38DB #866CE4 #B1A0ED #DBD3F7

Accessibility & contrast

On white

3.98
#866CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#866CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CE4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CE4#FFFFFF#000000##000000
##866CE41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E8
Deuteranopia (green-blind)
#387DE1
Tritanopia (blue-blind)
#6C859E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866ce4;
/* rgb */ color: rgb(134, 108, 228);
/* oklch */ color: oklch(61.4% 0.175 290.3);
Tailwind
colors: {
  custom: {
    50: '#ae97ed',
    500: '#866ce4',
    950: '#000000',
  },
}
SCSS
$custom: #866ce4;
$custom-light: #ae97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#866ce4",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 253,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.17493,
    "h": 290.3
  },
  "luminance": 0.21395
}

Semantic roles & 50–950 ramp

primary
#866CE4
secondary
#E1EAC2
accent
#D115A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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