#866BE4#866BE4

#866BE4 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.2% C 0.176 H 290.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#866BE4
RGBrgb(134, 107, 228)
HSLhsl(253, 69%, 66%)
HSVhsv(253, 53%, 89%)
CMYKcmyk(41.2%, 53.1%, 0%, 10.6%)
CIE-LABlab(53.15, 38.89, -58.14)
CIE-LCHlch(53.15, 69.95, 303.78°)
OKLaboklab(61.21% 0.0618 -0.1652)
OKLCHoklch(61.21% 0.176 290.5)
XYZxyz(29.0889, 21.1843, 75.9401)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BE4 #C9E46B
analogous
#6B8CE4 #866BE4 #C26BE4
triadic
#866BE4 #E4866B #6BE486
tetradic
#866BE4 #E46B8C #C9E46B #6BE4C2
square
#866BE4 #E46B8C #C9E46B #6BE4C2
split-complementary
#866BE4 #E4C26B #8CE46B
monochromatic
#4221B4 #5C37DB #866BE4 #B09FED #DBD3F7

Accessibility & contrast

On white

4.01
#866BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#866BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BE4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BE4#FFFFFF#000000##000000
##866BE41.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3281E8
Deuteranopia (green-blind)
#367CE1
Tritanopia (blue-blind)
#6C859D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866be4;
/* rgb */ color: rgb(134, 107, 228);
/* oklch */ color: oklch(61.2% 0.176 290.5);
Tailwind
colors: {
  custom: {
    50: '#ae96ed',
    500: '#866be4',
    950: '#000000',
  },
}
SCSS
$custom: #866be4;
$custom-light: #ae96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#866be4",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 228
  },
  "hsl": {
    "h": 253.388,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61213,
    "c": 0.17635,
    "h": 290.5
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#866BE4
secondary
#E1EAC1
accent
#D114A7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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