#8873E8#8873E8

#8873E8 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.0% C 0.170 H 288.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8873E8
RGBrgb(136, 115, 232)
HSLhsl(251, 72%, 68%)
HSVhsv(251, 50%, 91%)
CMYKcmyk(41.4%, 50.4%, 0%, 9%)
CIE-LABlab(55.40, 35.84, -56.76)
CIE-LCHlch(55.40, 67.13, 302.26°)
OKLaboklab(63.01% 0.0549 -0.1611)
OKLCHoklch(63.01% 0.17 288.8)
XYZxyz(30.8455, 23.3209, 79.2044)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873E8 #D3E873
analogous
#7398E8 #8873E8 #C273E8
triadic
#8873E8 #E88873 #73E888
tetradic
#8873E8 #E87398 #D3E873 #73E8C2
square
#8873E8 #E87398 #D3E873 #73E8C2
split-complementary
#8873E8 #E8C273 #98E873
monochromatic
#3D20C1 #5B3EDF #8873E8 #B5A8F1 #E1DCF9

Accessibility & contrast

On white

3.71
#8873E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8873E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873E8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873E8#FFFFFF#000000##000000
##8873E81.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EC
Deuteranopia (green-blind)
#4282E5
Tritanopia (blue-blind)
#6D8BA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8873e8;
/* rgb */ color: rgb(136, 115, 232);
/* oklch */ color: oklch(63.0% 0.170 288.8);
Tailwind
colors: {
  custom: {
    50: '#af9bf0',
    500: '#8873e8',
    950: '#000000',
  },
}
SCSS
$custom: #8873e8;
$custom-light: #af9bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8873e8",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 250.769,
    "s": 71.779,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63008,
    "c": 0.17015,
    "h": 288.8
  },
  "luminance": 0.23322
}

Semantic roles & 50–950 ramp

primary
#8873E8
secondary
#E7EDCA
accent
#D412B1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8873E8

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

Preview Lab → · Contrast checker → · Palette generator →

#8873E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva