#872399#872399

#872399 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.191 H 321.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#872399
RGBrgb(135, 35, 153)
HSLhsl(291, 63%, 37%)
HSVhsv(291, 77%, 60%)
CMYKcmyk(11.8%, 77.1%, 0%, 40%)
CIE-LABlab(35.31, 56.87, -43.02)
CIE-LCHlch(35.31, 71.31, 322.89°)
OKLaboklab(46.75% 0.1487 -0.1205)
OKLCHoklch(46.75% 0.191 321)
XYZxyz(16.3418, 8.6538, 30.9404)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872399 #359923
analogous
#4C2399 #872399 #992370
triadic
#872399 #998723 #239987
tetradic
#872399 #994C23 #359923 #237099
square
#872399 #994C23 #359923 #237099
split-complementary
#872399 #709923 #23994C
monochromatic
#2F0C35 #5B1867 #872399 #B32ECB #C75DDA

Accessibility & contrast

On white

7.69
#872399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#872399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872399
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872399#FFFFFF#000000##FFFFFF
##8723991.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#315796
Tritanopia (blue-blind)
#883B5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872399;
/* rgb */ color: rgb(135, 35, 153);
/* oklch */ color: oklch(46.7% 0.191 321.0);
Tailwind
colors: {
  custom: {
    50: '#ae6ab8',
    500: '#872399',
    950: '#000000',
  },
}
SCSS
$custom: #872399;
$custom-light: #ae6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#872399",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 290.847,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.19141,
    "h": 321
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#872399
secondary
#69BE59
accent
#E6425B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872399

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

Preview Lab → · Contrast checker → · Palette generator →

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