#866EE7#866EE7

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

Color values

HEX#866EE7
RGBrgb(134, 110, 231)
HSLhsl(252, 72%, 67%)
HSVhsv(252, 52%, 91%)
CMYKcmyk(42%, 52.4%, 0%, 9.4%)
CIE-LABlab(54.02, 37.99, -58.44)
CIE-LCHlch(54.02, 69.70, 303.03°)
OKLaboklab(61.91% 0.0583 -0.166)
OKLCHoklch(61.91% 0.176 289.4)
XYZxyz(29.8272, 21.9887, 78.2585)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EE7 #CFE76E
analogous
#6E93E7 #866EE7 #C36EE7
triadic
#866EE7 #E7866E #6EE786
tetradic
#866EE7 #E76E93 #CFE76E #6EE7C3
square
#866EE7 #E76E93 #CFE76E #6EE7C3
split-complementary
#866EE7 #E7C36E #93E76E
monochromatic
#3E1FBC #5A39DE #866EE7 #B2A3F0 #DED7F8

Accessibility & contrast

On white

3.89
#866EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#866EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EE7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EE7#FFFFFF#000000##000000
##866EE71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#387EE4
Tritanopia (blue-blind)
#6A88A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866ee7;
/* rgb */ color: rgb(134, 110, 231);
/* oklch */ color: oklch(61.9% 0.176 289.4);
Tailwind
colors: {
  custom: {
    50: '#ae98ef',
    500: '#866ee7',
    950: '#000000',
  },
}
SCSS
$custom: #866ee7;
$custom-light: #ae98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#866ee7",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 231
  },
  "hsl": {
    "h": 251.901,
    "s": 71.598,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.17599,
    "h": 289.4
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#866EE7
secondary
#E4ECC5
accent
#D412AD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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