#8872CC#8872CC

#8872CC is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.2% C 0.134 H 293.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8872CC
RGBrgb(136, 114, 204)
HSLhsl(255, 47%, 62%)
HSVhsv(255, 44%, 80%)
CMYKcmyk(33.3%, 44.1%, 0%, 20%)
CIE-LABlab(53.63, 28.83, -43.79)
CIE-LCHlch(53.63, 52.43, 303.35°)
OKLaboklab(61.18% 0.053 -0.1231)
OKLCHoklch(61.18% 0.134 293.3)
XYZxyz(27.0670, 21.6280, 59.8636)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8872CC #B6CC72
analogous
#7289CC #8872CC #B572CC
triadic
#8872CC #CC8872 #72CC88
tetradic
#8872CC #CC7289 #B6CC72 #72CCB5
square
#8872CC #CC7289 #B6CC72 #72CCB5
split-complementary
#8872CC #CCB572 #89CC72
monochromatic
#4A3490 #6245BC #8872CC #AE9FDC #D4CCED

Accessibility & contrast

On white

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

On black

5.33
#8872CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8872CC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8872CC#FFFFFF#000000##000000
##8872CC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#788395
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8872cc;
/* rgb */ color: rgb(136, 114, 204);
/* oklch */ color: oklch(61.2% 0.134 293.3);
Tailwind
colors: {
  custom: {
    50: '#ad9bdc',
    500: '#8872cc',
    950: '#000000',
  },
}
SCSS
$custom: #8872cc;
$custom-light: #ad9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8872cc",
  "rgb": {
    "r": 136,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 254.667,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61181,
    "c": 0.13401,
    "h": 293.3
  },
  "luminance": 0.21629
}

Semantic roles & 50–950 ramp

primary
#8872CC
secondary
#D5DDBC
accent
#BA2B97
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8872CC

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

Preview Lab → · Contrast checker → · Palette generator →

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