#8873EA#8873EA

#8873EA is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.1% C 0.173 H 288.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8873EA
RGBrgb(136, 115, 234)
HSLhsl(251, 74%, 68%)
HSVhsv(251, 51%, 92%)
CMYKcmyk(41.9%, 50.9%, 0%, 8.2%)
CIE-LABlab(55.52, 36.39, -57.70)
CIE-LCHlch(55.52, 68.21, 302.24°)
OKLaboklab(63.13% 0.055 -0.1638)
OKLCHoklch(63.13% 0.173 288.6)
XYZxyz(31.1312, 23.4351, 80.7091)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873EA #D5EA73
analogous
#7399EA #8873EA #C373EA
triadic
#8873EA #EA8873 #73EA88
tetradic
#8873EA #EA7399 #D5EA73 #73EAC3
square
#8873EA #EA7399 #D5EA73 #73EAC3
split-complementary
#8873EA #EAC373 #99EA73
monochromatic
#3B1EC5 #5B3EE2 #8873EA #B5A8F2 #E2DDFA

Accessibility & contrast

On white

3.69
#8873EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8873EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873EA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873EA#FFFFFF#000000##000000
##8873EA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#3F82E7
Tritanopia (blue-blind)
#6C8CA4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8873ea;
/* rgb */ color: rgb(136, 115, 234);
/* oklch */ color: oklch(63.1% 0.173 288.6);
Tailwind
colors: {
  custom: {
    50: '#b09bf1',
    500: '#8873ea',
    950: '#000000',
  },
}
SCSS
$custom: #8873ea;
$custom-light: #b09bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8873ea",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 250.588,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63133,
    "c": 0.17278,
    "h": 288.6
  },
  "luminance": 0.23436
}

Semantic roles & 50–950 ramp

primary
#8873EA
secondary
#E8EECA
accent
#D60FB3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8873EA

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

Preview Lab → · Contrast checker → · Palette generator →

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