#8873EF#8873EF

#8873EF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.179 H 288.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8873EF
RGBrgb(136, 115, 239)
HSLhsl(250, 79%, 69%)
HSVhsv(250, 52%, 94%)
CMYKcmyk(43.1%, 51.9%, 0%, 6.3%)
CIE-LABlab(55.81, 37.79, -60.01)
CIE-LCHlch(55.81, 70.92, 302.20°)
OKLaboklab(63.45% 0.0553 -0.1706)
OKLCHoklch(63.45% 0.179 288)
XYZxyz(31.8596, 23.7265, 84.5456)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873EF #DAEF73
analogous
#739CEF #8873EF #C673EF
triadic
#8873EF #EF8873 #73EF88
tetradic
#8873EF #EF739C #DAEF73 #73EFC6
square
#8873EF #EF739C #DAEF73 #73EFC6
split-complementary
#8873EF #EFC673 #9CEF73
monochromatic
#3718D0 #593CE9 #8873EF #B7AAF5 #E5E1FC

Accessibility & contrast

On white

3.65
#8873EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8873EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873EF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873EF#FFFFFF#000000##000000
##8873EF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3989F3
Deuteranopia (green-blind)
#3983EC
Tritanopia (blue-blind)
#698DA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8873ef;
/* rgb */ color: rgb(136, 115, 239);
/* oklch */ color: oklch(63.4% 0.179 288.0);
Tailwind
colors: {
  custom: {
    50: '#b09bf5',
    500: '#8873ef',
    950: '#000000',
  },
}
SCSS
$custom: #8873ef;
$custom-light: #b09bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8873ef",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 250.161,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63448,
    "c": 0.17934,
    "h": 288
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#8873EF
secondary
#EBF1CD
accent
#DC0AB8
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8873EF

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

Preview Lab → · Contrast checker → · Palette generator →

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