#8867F5#8867F5

#8867F5 is a mid, highly saturated violet. Relative luminance 0.215; OKLCH L 61.9% C 0.203 H 289.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8867F5
RGBrgb(136, 103, 245)
HSLhsl(254, 88%, 68%)
HSVhsv(254, 58%, 96%)
CMYKcmyk(44.5%, 58%, 0%, 3.9%)
CIE-LABlab(53.52, 46.28, -67.04)
CIE-LCHlch(53.52, 81.47, 304.62°)
OKLaboklab(61.87% 0.069 -0.1913)
OKLCHoklch(61.87% 0.203 289.8)
XYZxyz(31.4804, 21.5262, 88.8648)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8867F5 #D4F567
analogous
#678DF5 #8867F5 #CF67F5
triadic
#8867F5 #F58867 #67F588
tetradic
#8867F5 #F5678D #D4F567 #67F5CF
square
#8867F5 #F5678D #D4F567 #67F5CF
split-complementary
#8867F5 #F5CF67 #8DF567
monochromatic
#3C0ED4 #5B2EF1 #8867F5 #B5A0F9 #E2DAFD

Accessibility & contrast

On white

3.96
#8867F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8867F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8867F5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8867F5#FFFFFF#000000##000000
##8867F51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#6787A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8867f5;
/* rgb */ color: rgb(136, 103, 245);
/* oklch */ color: oklch(61.9% 0.203 289.8);
Tailwind
colors: {
  custom: {
    50: '#b193f9',
    500: '#8867f5',
    950: '#000000',
  },
}
SCSS
$custom: #8867f5;
$custom-light: #b193f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8867f5",
  "rgb": {
    "r": 136,
    "g": 103,
    "b": 245
  },
  "hsl": {
    "h": 253.944,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61872,
    "c": 0.20337,
    "h": 289.8
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#8867F5
secondary
#E7F1C6
accent
#E401AF
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8867F5

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

Preview Lab → · Contrast checker → · Palette generator →

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