#8872CD#8872CD

#8872CD is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.2% C 0.135 H 293.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8872CD
RGBrgb(136, 114, 205)
HSLhsl(255, 48%, 63%)
HSVhsv(255, 44%, 80%)
CMYKcmyk(33.7%, 44.4%, 0%, 19.6%)
CIE-LABlab(53.68, 29.09, -44.28)
CIE-LCHlch(53.68, 52.98, 303.30°)
OKLaboklab(61.24% 0.0531 -0.1245)
OKLCHoklch(61.24% 0.135 293.1)
XYZxyz(27.1873, 21.6761, 60.4973)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8872CD #B7CD72
analogous
#728ACD #8872CD #B572CD
triadic
#8872CD #CD8872 #72CD88
tetradic
#8872CD #CD728A #B7CD72 #72CDB5
square
#8872CD #CD728A #B7CD72 #72CDB5
split-complementary
#8872CD #CDB572 #8ACD72
monochromatic
#4A3391 #6245BD #8872CD #AE9FDD #D4CCED

Accessibility & contrast

On white

3.94
#8872CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8872CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8872CD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8872CD#FFFFFF#000000##000000
##8872CD1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#788396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8872cd;
/* rgb */ color: rgb(136, 114, 205);
/* oklch */ color: oklch(61.2% 0.135 293.1);
Tailwind
colors: {
  custom: {
    50: '#ad9bdd',
    500: '#8872cd',
    950: '#000000',
  },
}
SCSS
$custom: #8872cd;
$custom-light: #ad9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8872cd",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 254.505,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.13538,
    "h": 293.1
  },
  "luminance": 0.21677
}

Semantic roles & 50–950 ramp

primary
#8872CD
secondary
#D6DEBD
accent
#BB2B98
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8872CD

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

Preview Lab → · Contrast checker → · Palette generator →

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