#872096#872096

#872096 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.192 H 322.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#872096
RGBrgb(135, 32, 150)
HSLhsl(292, 65%, 36%)
HSVhsv(292, 79%, 59%)
CMYKcmyk(10%, 78.7%, 0%, 41.2%)
CIE-LABlab(34.78, 57.29, -42.05)
CIE-LCHlch(34.78, 71.06, 323.72°)
OKLaboklab(46.31% 0.1516 -0.1177)
OKLCHoklch(46.31% 0.192 322.2)
XYZxyz(16.0126, 8.3869, 29.6237)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872096 #2F9620
analogous
#4C2096 #872096 #96206A
triadic
#872096 #968720 #209687
tetradic
#872096 #964C20 #2F9620 #206A96
square
#872096 #964C20 #2F9620 #206A96
split-complementary
#872096 #6A9620 #20964C
monochromatic
#2C0A31 #5A1564 #872096 #B42BC8 #CA56DB

Accessibility & contrast

On white

7.84
#872096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872096
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872096#FFFFFF#000000##FFFFFF
##8720961.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#325693
Tritanopia (blue-blind)
#89385B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #872096;
/* rgb */ color: rgb(135, 32, 150);
/* oklch */ color: oklch(46.3% 0.192 322.2);
Tailwind
colors: {
  custom: {
    50: '#ae68b5',
    500: '#872096',
    950: '#000000',
  },
}
SCSS
$custom: #872096;
$custom-light: #ae68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#872096",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 292.373,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46305,
    "c": 0.19191,
    "h": 322.2
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#872096
secondary
#61BE53
accent
#E84055
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872096

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

Preview Lab → · Contrast checker → · Palette generator →

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