#8873CB#8873CB

#8873CB is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.3% C 0.131 H 293.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8873CB
RGBrgb(136, 115, 203)
HSLhsl(254, 46%, 62%)
HSVhsv(254, 43%, 80%)
CMYKcmyk(33%, 43.3%, 0%, 20.4%)
CIE-LABlab(53.82, 27.98, -42.92)
CIE-LCHlch(53.82, 51.23, 303.10°)
OKLaboklab(61.31% 0.0515 -0.1206)
OKLCHoklch(61.31% 0.131 293.1)
XYZxyz(27.0608, 21.8070, 59.2718)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873CB #B6CB73
analogous
#738ACB #8873CB #B473CB
triadic
#8873CB #CB8873 #73CB88
tetradic
#8873CB #CB738A #B6CB73 #73CBB4
square
#8873CB #CB738A #B6CB73 #73CBB4
split-complementary
#8873CB #CBB473 #8ACB73
monochromatic
#4A358F #6246BA #8873CB #AEA0DC #D4CCEC

Accessibility & contrast

On white

3.92
#8873CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8873CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873CB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873CB#FFFFFF#000000##000000
##8873CB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#788395
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8873cb;
/* rgb */ color: rgb(136, 115, 203);
/* oklch */ color: oklch(61.3% 0.131 293.1);
Tailwind
colors: {
  custom: {
    50: '#ad9bdb',
    500: '#8873cb',
    950: '#000000',
  },
}
SCSS
$custom: #8873cb;
$custom-light: #ad9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8873cb",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 254.318,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.13108,
    "h": 293.1
  },
  "luminance": 0.21808
}

Semantic roles & 50–950 ramp

primary
#8873CB
secondary
#D5DDBD
accent
#B92C97
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8873CB

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

Preview Lab → · Contrast checker → · Palette generator →

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