#8871CD#8871CD

#8871CD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.1% C 0.137 H 293.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8871CD
RGBrgb(136, 113, 205)
HSLhsl(255, 48%, 62%)
HSVhsv(255, 45%, 80%)
CMYKcmyk(33.7%, 44.9%, 0%, 19.6%)
CIE-LABlab(53.44, 29.68, -44.66)
CIE-LCHlch(53.44, 53.62, 303.60°)
OKLaboklab(61.05% 0.0545 -0.1256)
OKLCHoklch(61.05% 0.137 293.4)
XYZxyz(27.0751, 21.4518, 60.4599)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871CD #B6CD71
analogous
#7188CD #8871CD #B671CD
triadic
#8871CD #CD8871 #71CD88
tetradic
#8871CD #CD7188 #B6CD71 #71CDB6
square
#8871CD #CD7188 #B6CD71 #71CDB6
split-complementary
#8871CD #CDB671 #88CD71
monochromatic
#4A3391 #6244BD #8871CD #AE9EDD #D4CCED

Accessibility & contrast

On white

3.97
#8871CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8871CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871CD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871CD#FFFFFF#000000##000000
##8871CD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#788295
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8871cd;
/* rgb */ color: rgb(136, 113, 205);
/* oklch */ color: oklch(61.1% 0.137 293.4);
Tailwind
colors: {
  custom: {
    50: '#ad9add',
    500: '#8871cd',
    950: '#000000',
  },
}
SCSS
$custom: #8871cd;
$custom-light: #ad9add;
$custom-dark: #000000;
JSON
{
  "hex": "#8871cd",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 255,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.13694,
    "h": 293.4
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#8871CD
secondary
#D5DEBC
accent
#BB2A97
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8871CD

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

Preview Lab → · Contrast checker → · Palette generator →

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