#866FE4#866FE4

#866FE4 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.171 H 289.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#866FE4
RGBrgb(134, 111, 228)
HSLhsl(252, 68%, 66%)
HSVhsv(252, 51%, 89%)
CMYKcmyk(41.2%, 51.3%, 0%, 10.6%)
CIE-LABlab(54.07, 36.58, -56.67)
CIE-LCHlch(54.07, 67.45, 302.84°)
OKLaboklab(61.9% 0.057 -0.1609)
OKLCHoklch(61.9% 0.171 289.5)
XYZxyz(29.5157, 22.0377, 76.0823)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FE4 #CDE46F
analogous
#6F93E4 #866FE4 #C16FE4
triadic
#866FE4 #E4866F #6FE486
tetradic
#866FE4 #E46F93 #CDE46F #6FE4C1
square
#866FE4 #E46F93 #CDE46F #6FE4C1
split-complementary
#866FE4 #E4C16F #93E46F
monochromatic
#3F22B6 #5B3BDA #866FE4 #B1A3EE #DDD6F7

Accessibility & contrast

On white

3.88
#866FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#866FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FE4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FE4#FFFFFF#000000##000000
##866FE41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#3E7FE1
Tritanopia (blue-blind)
#6B879F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866fe4;
/* rgb */ color: rgb(134, 111, 228);
/* oklch */ color: oklch(61.9% 0.171 289.5);
Tailwind
colors: {
  custom: {
    50: '#ae99ed',
    500: '#866fe4',
    950: '#000000',
  },
}
SCSS
$custom: #866fe4;
$custom-light: #ae99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#866fe4",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 251.795,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61895,
    "c": 0.17065,
    "h": 289.5
  },
  "luminance": 0.22039
}

Semantic roles & 50–950 ramp

primary
#866FE4
secondary
#E3EAC4
accent
#D015AC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #866FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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