#866CE2#866CE2

#866CE2 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.3% C 0.172 H 290.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#866CE2
RGBrgb(134, 108, 226)
HSLhsl(253, 67%, 65%)
HSVhsv(253, 52%, 89%)
CMYKcmyk(40.7%, 52.2%, 0%, 11.4%)
CIE-LABlab(53.26, 37.76, -56.84)
CIE-LCHlch(53.26, 68.24, 303.60°)
OKLaboklab(61.25% 0.0605 -0.1614)
OKLCHoklch(61.25% 0.172 290.5)
XYZxyz(28.9178, 21.2836, 74.5213)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866CE2 #C8E26C
analogous
#6C8DE2 #866CE2 #C16CE2
triadic
#866CE2 #E2866C #6CE286
tetradic
#866CE2 #E26C8D #C8E26C #6CE2C1
square
#866CE2 #E26C8D #C8E26C #6CE2C1
split-complementary
#866CE2 #E2C16C #8DE26C
monochromatic
#4223B1 #5C39D8 #866CE2 #B09FEC #DAD2F6

Accessibility & contrast

On white

3.99
#866CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#866CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866CE2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866CE2#FFFFFF#000000##000000
##866CE21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#3B7DDF
Tritanopia (blue-blind)
#6D859D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866ce2;
/* rgb */ color: rgb(134, 108, 226);
/* oklch */ color: oklch(61.3% 0.172 290.5);
Tailwind
colors: {
  custom: {
    50: '#ae96ec',
    500: '#866ce2',
    950: '#000000',
  },
}
SCSS
$custom: #866ce2;
$custom-light: #ae96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#866ce2",
  "rgb": {
    "r": 134,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 253.22,
    "s": 67.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.17233,
    "h": 290.5
  },
  "luminance": 0.21284
}

Semantic roles & 50–950 ramp

primary
#866CE2
secondary
#E0E9C1
accent
#CF17A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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