#8873CD#8873CD

#8873CD is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.4% C 0.134 H 292.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8873CD
RGBrgb(136, 115, 205)
HSLhsl(254, 47%, 63%)
HSVhsv(254, 44%, 80%)
CMYKcmyk(33.7%, 43.9%, 0%, 19.6%)
CIE-LABlab(53.92, 28.50, -43.90)
CIE-LCHlch(53.92, 52.34, 303.00°)
OKLaboklab(61.42% 0.0518 -0.1234)
OKLCHoklch(61.42% 0.134 292.8)
XYZxyz(27.3007, 21.9029, 60.5351)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8873CD #B8CD73
analogous
#738BCD #8873CD #B573CD
triadic
#8873CD #CD8873 #73CD88
tetradic
#8873CD #CD738B #B8CD73 #73CDB5
square
#8873CD #CD738B #B8CD73 #73CDB5
split-complementary
#8873CD #CDB573 #8BCD73
monochromatic
#4A3492 #6246BD #8873CD #AEA0DD #D5CDED

Accessibility & contrast

On white

3.90
#8873CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8873CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8873CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8873CD#FFFFFF#000000##000000
##8873CD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682D0
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#788496
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8873cd;
/* rgb */ color: rgb(136, 115, 205);
/* oklch */ color: oklch(61.4% 0.134 292.8);
Tailwind
colors: {
  custom: {
    50: '#ad9bdc',
    500: '#8873cd',
    950: '#000000',
  },
}
SCSS
$custom: #8873cd;
$custom-light: #ad9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8873cd",
  "rgb": {
    "r": 136,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 254,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.13382,
    "h": 292.8
  },
  "luminance": 0.21903
}

Semantic roles & 50–950 ramp

primary
#8873CD
secondary
#D7DEBE
accent
#BB2B99
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8873CD

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

Preview Lab → · Contrast checker → · Palette generator →

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