#872396#872396

#872396 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.189 H 322.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#872396
RGBrgb(135, 35, 150)
HSLhsl(292, 62%, 36%)
HSVhsv(292, 77%, 59%)
CMYKcmyk(10%, 76.7%, 0%, 41.2%)
CIE-LABlab(35.11, 56.31, -41.51)
CIE-LCHlch(35.11, 69.96, 323.61°)
OKLaboklab(46.55% 0.149 -0.1161)
OKLCHoklch(46.55% 0.189 322.1)
XYZxyz(16.0971, 8.5559, 29.6518)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872396 #329623
analogous
#4E2396 #872396 #96236C
triadic
#872396 #968723 #239687
tetradic
#872396 #964E23 #329623 #236C96
square
#872396 #964E23 #329623 #236C96
split-complementary
#872396 #6C9623 #23964E
monochromatic
#2E0C33 #5A1764 #872396 #B42FC8 #C85BD9

Accessibility & contrast

On white

7.75
#872396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#872396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872396
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872396#FFFFFF#000000##FFFFFF
##8723961.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#345693
Tritanopia (blue-blind)
#893A5B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872396;
/* rgb */ color: rgb(135, 35, 150);
/* oklch */ color: oklch(46.5% 0.189 322.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ab5',
    500: '#872396',
    950: '#000000',
  },
}
SCSS
$custom: #872396;
$custom-light: #ae6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#872396",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 292.174,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46546,
    "c": 0.18887,
    "h": 322.1
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#872396
secondary
#65BD58
accent
#E54358
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872396

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

Preview Lab → · Contrast checker → · Palette generator →

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