#8867E5#8867E5

#8867E5 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.183 H 292.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8867E5
RGBrgb(136, 103, 229)
HSLhsl(256, 71%, 65%)
HSVhsv(256, 55%, 90%)
CMYKcmyk(40.6%, 55%, 0%, 10.2%)
CIE-LABlab(52.50, 41.90, -59.74)
CIE-LCHlch(52.50, 72.97, 305.05°)
OKLaboklab(60.79% 0.0691 -0.1698)
OKLCHoklch(60.79% 0.183 292.1)
XYZxyz(29.1426, 20.5911, 76.5526)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8867E5 #C4E567
analogous
#6785E5 #8867E5 #C767E5
triadic
#8867E5 #E58867 #67E588
tetradic
#8867E5 #E56785 #C4E567 #67E5C7
square
#8867E5 #E56785 #C4E567 #67E5C7
split-complementary
#8867E5 #E5C767 #85E567
monochromatic
#451FB3 #5F33DC #8867E5 #B19BEE #DAD0F7

Accessibility & contrast

On white

4.10
#8867E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8867E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8867E5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8867E5#FFFFFF#000000##000000
##8867E51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#6F829C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8867e5;
/* rgb */ color: rgb(136, 103, 229);
/* oklch */ color: oklch(60.8% 0.183 292.1);
Tailwind
colors: {
  custom: {
    50: '#b093ee',
    500: '#8867e5',
    950: '#000000',
  },
}
SCSS
$custom: #8867e5;
$custom-light: #b093ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8867e5",
  "rgb": {
    "r": 136,
    "g": 103,
    "b": 229
  },
  "hsl": {
    "h": 255.714,
    "s": 70.787,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.18333,
    "h": 292.1
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#8867E5
secondary
#DEE9BF
accent
#D313A0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8867E5

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

Preview Lab → · Contrast checker → · Palette generator →

#8867E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva