#872097#872097

#872097 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.193 H 321.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#872097
RGBrgb(135, 32, 151)
HSLhsl(292, 65%, 36%)
HSVhsv(292, 79%, 59%)
CMYKcmyk(10.6%, 78.8%, 0%, 40.8%)
CIE-LABlab(34.84, 57.47, -42.56)
CIE-LCHlch(34.84, 71.51, 323.48°)
OKLaboklab(46.37% 0.1515 -0.1192)
OKLCHoklch(46.37% 0.193 321.8)
XYZxyz(16.0935, 8.4192, 30.0495)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872097 #309720
analogous
#4B2097 #872097 #97206B
triadic
#872097 #978720 #209787
tetradic
#872097 #974B20 #309720 #206B97
square
#872097 #974B20 #309720 #206B97
split-complementary
#872097 #6B9720 #20974B
monochromatic
#2D0B32 #5A1564 #872097 #B42BC9 #C956DB

Accessibility & contrast

On white

7.83
#872097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#872097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872097
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872097#FFFFFF#000000##FFFFFF
##8720971.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#315694
Tritanopia (blue-blind)
#88385B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872097;
/* rgb */ color: rgb(135, 32, 151);
/* oklch */ color: oklch(46.4% 0.193 321.8);
Tailwind
colors: {
  custom: {
    50: '#ae68b6',
    500: '#872097',
    950: '#000000',
  },
}
SCSS
$custom: #872097;
$custom-light: #ae68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#872097",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 291.933,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46372,
    "c": 0.19274,
    "h": 321.8
  },
  "luminance": 0.08418
}

Semantic roles & 50–950 ramp

primary
#872097
secondary
#62BF54
accent
#E84056
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872097

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

Preview Lab → · Contrast checker → · Palette generator →

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