#8873EB#8873EB

#8873EB is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.2% C 0.174 H 288.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8873EB
RGBrgb(136, 115, 235)
HSLhsl(251, 75%, 69%)
HSVhsv(251, 51%, 92%)
CMYKcmyk(42.1%, 51.1%, 0%, 7.8%)
CIE-LABlab(55.58, 36.67, -58.16)
CIE-LCHlch(55.58, 68.76, 302.23°)
OKLaboklab(63.2% 0.0551 -0.1652)
OKLCHoklch(63.2% 0.174 288.4)
XYZxyz(31.2753, 23.4928, 81.4678)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873EB #D6EB73
analogous
#739AEB #8873EB #C473EB
triadic
#8873EB #EB8873 #73EB88
tetradic
#8873EB #EB739A #D6EB73 #73EBC4
square
#8873EB #EB739A #D6EB73 #73EBC4
split-complementary
#8873EB #EBC473 #9AEB73
monochromatic
#3A1CC7 #5A3DE3 #8873EB #B6A9F3 #E3DEFA

Accessibility & contrast

On white

3.68
#8873EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8873EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873EB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873EB#FFFFFF#000000##000000
##8873EB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#6B8CA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8873eb;
/* rgb */ color: rgb(136, 115, 235);
/* oklch */ color: oklch(63.2% 0.174 288.4);
Tailwind
colors: {
  custom: {
    50: '#b09bf2',
    500: '#8873eb',
    950: '#000000',
  },
}
SCSS
$custom: #8873eb;
$custom-light: #b09bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8873eb",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 250.5,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.1741,
    "h": 288.4
  },
  "luminance": 0.23494
}

Semantic roles & 50–950 ramp

primary
#8873EB
secondary
#E9EFCB
accent
#D70EB4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8873EB

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

Preview Lab → · Contrast checker → · Palette generator →

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