#866FE2#866FE2

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

Color values

HEX#866FE2
RGBrgb(134, 111, 226)
HSLhsl(252, 66%, 66%)
HSVhsv(252, 51%, 89%)
CMYKcmyk(40.7%, 50.9%, 0%, 11.4%)
CIE-LABlab(53.95, 36.02, -55.73)
CIE-LCHlch(53.95, 66.36, 302.88°)
OKLaboklab(61.77% 0.0568 -0.1581)
OKLCHoklch(61.77% 0.168 289.8)
XYZxyz(29.2396, 21.9273, 74.6286)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866FE2 #CBE26F
analogous
#6F91E2 #866FE2 #BF6FE2
triadic
#866FE2 #E2866F #6FE286
tetradic
#866FE2 #E26F91 #CBE26F #6FE2BF
square
#866FE2 #E26F91 #CBE26F #6FE2BF
split-complementary
#866FE2 #E2BF6F #91E26F
monochromatic
#4124B3 #5B3CD8 #866FE2 #B1A2EC #DCD5F7

Accessibility & contrast

On white

3.90
#866FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#866FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866FE2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866FE2#FFFFFF#000000##000000
##866FE21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#6C879E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #866fe2;
/* rgb */ color: rgb(134, 111, 226);
/* oklch */ color: oklch(61.8% 0.168 289.8);
Tailwind
colors: {
  custom: {
    50: '#ae99ec',
    500: '#866fe2',
    950: '#000000',
  },
}
SCSS
$custom: #866fe2;
$custom-light: #ae99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#866fe2",
  "rgb": {
    "r": 134,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 252,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.16801,
    "h": 289.8
  },
  "luminance": 0.21928
}

Semantic roles & 50–950 ramp

primary
#866FE2
secondary
#E2E9C4
accent
#CE17AA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #866FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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