#8873EC#8873EC

#8873EC is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.175 H 288.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8873EC
RGBrgb(136, 115, 236)
HSLhsl(250, 76%, 69%)
HSVhsv(250, 51%, 93%)
CMYKcmyk(42.4%, 51.3%, 0%, 7.5%)
CIE-LABlab(55.64, 36.95, -58.62)
CIE-LCHlch(55.64, 69.30, 302.22°)
OKLaboklab(63.26% 0.0551 -0.1665)
OKLCHoklch(63.26% 0.175 288.3)
XYZxyz(31.4201, 23.5507, 82.2309)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873EC #D7EC73
analogous
#739BEC #8873EC #C573EC
triadic
#8873EC #EC8873 #73EC88
tetradic
#8873EC #EC739B #D7EC73 #73ECC5
square
#8873EC #EC739B #D7EC73 #73ECC5
split-complementary
#8873EC #ECC573 #9BEC73
monochromatic
#3A1BC9 #5A3DE5 #8873EC #B6A9F3 #E4DFFB

Accessibility & contrast

On white

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

On black

5.71
#8873EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873EC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873EC#FFFFFF#000000##000000
##8873EC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#6B8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8873ec;
/* rgb */ color: rgb(136, 115, 236);
/* oklch */ color: oklch(63.3% 0.175 288.3);
Tailwind
colors: {
  custom: {
    50: '#b09bf3',
    500: '#8873ec',
    950: '#000000',
  },
}
SCSS
$custom: #8873ec;
$custom-light: #b09bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8873ec",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 250.413,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63258,
    "c": 0.17542,
    "h": 288.3
  },
  "luminance": 0.23552
}

Semantic roles & 50–950 ramp

primary
#8873EC
secondary
#E9EFCC
accent
#D80DB5
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8873EC

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

Preview Lab → · Contrast checker → · Palette generator →

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