#872999#872999

#872999 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.185 H 320.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#872999
RGBrgb(135, 41, 153)
HSLhsl(290, 58%, 38%)
HSVhsv(290, 73%, 60%)
CMYKcmyk(11.8%, 73.2%, 0%, 40%)
CIE-LABlab(36.06, 54.73, -41.83)
CIE-LCHlch(36.06, 68.88, 322.61°)
OKLaboklab(47.28% 0.143 -0.1171)
OKLCHoklch(47.28% 0.185 320.7)
XYZxyz(16.5337, 9.0375, 31.0043)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872999 #3B9929
analogous
#4F2999 #872999 #992973
triadic
#872999 #998729 #299987
tetradic
#872999 #994F29 #3B9929 #297399
square
#872999 #994F29 #3B9929 #297399
split-complementary
#872999 #739929 #29994F
monochromatic
#320F38 #5C1C69 #872999 #B236C9 #C466D6

Accessibility & contrast

On white

7.48
#872999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#872999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872999
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872999#FFFFFF#000000##FFFFFF
##8729991.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#883E5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #872999;
/* rgb */ color: rgb(135, 41, 153);
/* oklch */ color: oklch(47.3% 0.185 320.7);
Tailwind
colors: {
  custom: {
    50: '#ad6cb8',
    500: '#872999',
    950: '#000000',
  },
}
SCSS
$custom: #872999;
$custom-light: #ad6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#872999",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 290.357,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47277,
    "c": 0.18481,
    "h": 320.7
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#872999
secondary
#70BC62
accent
#E14760
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872999

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

Preview Lab → · Contrast checker → · Palette generator →

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