#866EE2#866EE2

#866EE2 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.6% C 0.169 H 290.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#866EE2
RGBrgb(134, 110, 226)
HSLhsl(252, 67%, 66%)
HSVhsv(252, 51%, 89%)
CMYKcmyk(40.7%, 51.3%, 0%, 11.4%)
CIE-LABlab(53.72, 36.60, -56.11)
CIE-LCHlch(53.72, 66.99, 303.12°)
OKLaboklab(61.6% 0.0581 -0.1592)
OKLCHoklch(61.6% 0.169 290)
XYZxyz(29.1311, 21.7103, 74.5924)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866EE2 #CAE26E
analogous
#6E90E2 #866EE2 #C06EE2
triadic
#866EE2 #E2866E #6EE286
tetradic
#866EE2 #E26E90 #CAE26E #6EE2C0
square
#866EE2 #E26E90 #CAE26E #6EE2C0
split-complementary
#866EE2 #E2C06E #90E26E
monochromatic
#4124B2 #5B3BD8 #866EE2 #B1A1EC #DBD4F6

Accessibility & contrast

On white

3.93
#866EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#866EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866EE2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866EE2#FFFFFF#000000##000000
##866EE21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E6
Deuteranopia (green-blind)
#3E7EDF
Tritanopia (blue-blind)
#6C869E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #866ee2;
/* rgb */ color: rgb(134, 110, 226);
/* oklch */ color: oklch(61.6% 0.169 290.0);
Tailwind
colors: {
  custom: {
    50: '#ae98ec',
    500: '#866ee2',
    950: '#000000',
  },
}
SCSS
$custom: #866ee2;
$custom-light: #ae98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#866ee2",
  "rgb": {
    "r": 134,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 252.414,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61597,
    "c": 0.16945,
    "h": 290
  },
  "luminance": 0.21711
}

Semantic roles & 50–950 ramp

primary
#866EE2
secondary
#E1E9C3
accent
#CF17A9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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