#872488#872488

#872488 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.176 H 327.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#872488
RGBrgb(135, 36, 136)
HSLhsl(299, 58%, 34%)
HSVhsv(299, 74%, 53%)
CMYKcmyk(0.7%, 73.5%, 0%, 46.7%)
CIE-LABlab(34.38, 53.45, -34.08)
CIE-LCHlch(34.38, 63.39, 327.48°)
OKLaboklab(45.75% 0.1486 -0.0945)
OKLCHoklch(45.75% 0.176 327.6)
XYZxyz(15.0663, 8.1913, 24.0753)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872488 #258824
analogous
#552488 #872488 #882457
triadic
#872488 #888724 #248887
tetradic
#872488 #885524 #258824 #245788
square
#872488 #885524 #258824 #245788
split-complementary
#872488 #578824 #248855
monochromatic
#270A27 #571758 #872488 #B731B8 #D155D2

Accessibility & contrast

On white

7.96
#872488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#872488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872488
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872488#FFFFFF#000000##FFFFFF
##8724881.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10498B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#8B3454
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872488;
/* rgb */ color: rgb(135, 36, 136);
/* oklch */ color: oklch(45.7% 0.176 327.6);
Tailwind
colors: {
  custom: {
    50: '#ad69ab',
    500: '#872488',
    950: '#000000',
  },
}
SCSS
$custom: #872488;
$custom-light: #ad69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#872488",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 299.4,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.17611,
    "h": 327.6
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#872488
secondary
#53B652
accent
#E14648
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872488

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

Preview Lab → · Contrast checker → · Palette generator →

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