#866EE5#866EE5

#866EE5 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.8% C 0.173 H 289.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#866EE5
RGBrgb(134, 110, 229)
HSLhsl(252, 70%, 66%)
HSVhsv(252, 52%, 90%)
CMYKcmyk(41.5%, 52%, 0%, 10.2%)
CIE-LABlab(53.90, 37.43, -57.51)
CIE-LCHlch(53.90, 68.62, 303.06°)
OKLaboklab(61.79% 0.0582 -0.1633)
OKLCHoklch(61.79% 0.173 289.6)
XYZxyz(29.5464, 21.8764, 76.7794)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EE5 #CDE56E
analogous
#6E92E5 #866EE5 #C26EE5
triadic
#866EE5 #E5866E #6EE586
tetradic
#866EE5 #E56E92 #CDE56E #6EE5C2
square
#866EE5 #E56E92 #CDE56E #6EE5C2
split-complementary
#866EE5 #E5C26E #92E56E
monochromatic
#3F21B8 #5B3ADC #866EE5 #B1A2EE #DDD6F8

Accessibility & contrast

On white

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

On black

5.38
#866EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EE5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EE5#FFFFFF#000000##000000
##866EE51.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#6B879F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866ee5;
/* rgb */ color: rgb(134, 110, 229);
/* oklch */ color: oklch(61.8% 0.173 289.6);
Tailwind
colors: {
  custom: {
    50: '#ae98ee',
    500: '#866ee5',
    950: '#000000',
  },
}
SCSS
$custom: #866ee5;
$custom-light: #ae98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#866ee5",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 229
  },
  "hsl": {
    "h": 252.101,
    "s": 69.591,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61786,
    "c": 0.17338,
    "h": 289.6
  },
  "luminance": 0.21877
}

Semantic roles & 50–950 ramp

primary
#866EE5
secondary
#E3EBC4
accent
#D214AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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