#866BE2#866BE2

#866BE2 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.1% C 0.174 H 290.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#866BE2
RGBrgb(134, 107, 226)
HSLhsl(254, 67%, 65%)
HSVhsv(254, 53%, 89%)
CMYKcmyk(40.7%, 52.7%, 0%, 11.4%)
CIE-LABlab(53.03, 38.34, -57.21)
CIE-LCHlch(53.03, 68.87, 303.83°)
OKLaboklab(61.09% 0.0617 -0.1624)
OKLCHoklch(61.09% 0.174 290.8)
XYZxyz(28.8129, 21.0738, 74.4863)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#866BE2 #C7E26B
analogous
#6B8CE2 #866BE2 #C16BE2
triadic
#866BE2 #E2866B #6BE286
tetradic
#866BE2 #E26B8C #C7E26B #6BE2C1
square
#866BE2 #E26B8C #C7E26B #6BE2C1
split-complementary
#866BE2 #E2C16B #8CE26B
monochromatic
#4323B0 #5C38D8 #866BE2 #B09EEC #DAD1F6

Accessibility & contrast

On white

4.03
#866BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#866BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #866BE2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##866BE2#FFFFFF#000000##000000
##866BE21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E6
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#6D849C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #866be2;
/* rgb */ color: rgb(134, 107, 226);
/* oklch */ color: oklch(61.1% 0.174 290.8);
Tailwind
colors: {
  custom: {
    50: '#ae96ec',
    500: '#866be2',
    950: '#000000',
  },
}
SCSS
$custom: #866be2;
$custom-light: #ae96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#866be2",
  "rgb": {
    "r": 134,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 253.613,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.17376,
    "h": 290.8
  },
  "luminance": 0.21075
}

Semantic roles & 50–950 ramp

primary
#866BE2
secondary
#DFE8C0
accent
#CF16A5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #866BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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