#871875#871875

#871875 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.174 H 336.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#871875
RGBrgb(135, 24, 117)
HSLhsl(310, 70%, 31%)
HSVhsv(310, 82%, 53%)
CMYKcmyk(0%, 82.2%, 13.3%, 47.1%)
CIE-LABlab(32.01, 54.12, -25.93)
CIE-LCHlch(32.01, 60.01, 334.40°)
OKLaboklab(43.71% 0.1589 -0.0708)
OKLCHoklch(43.71% 0.174 336)
XYZxyz(13.5294, 7.0898, 17.4821)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871875 #18872A
analogous
#611887 #871875 #87183D
triadic
#871875 #758718 #187587
tetradic
#871875 #876118 #18872A #183D87
square
#871875 #876118 #18872A #183D87
split-complementary
#871875 #3D8718 #188761
monochromatic
#1F061B #530F48 #871875 #BB21A2 #DC3DC3

Accessibility & contrast

On white

8.69
#871875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#871875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871875
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871875#FFFFFF#000000##FFFFFF
##8718751.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4177
Deuteranopia (green-blind)
#435173
Tritanopia (blue-blind)
#8E2246
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #871875;
/* rgb */ color: rgb(135, 24, 117);
/* oklch */ color: oklch(43.7% 0.174 336.0);
Tailwind
colors: {
  custom: {
    50: '#ae649d',
    500: '#871875',
    950: '#000000',
  },
}
SCSS
$custom: #871875;
$custom-light: #ae649d;
$custom-dark: #000000;
JSON
{
  "hex": "#871875",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 309.73,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43706,
    "c": 0.17399,
    "h": 336
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#871875
secondary
#40BB54
accent
#ED583B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #871875

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

Preview Lab → · Contrast checker → · Palette generator →

#871875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva