#872496#872496

#872496 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.188 H 322.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#872496
RGBrgb(135, 36, 150)
HSLhsl(292, 61%, 36%)
HSVhsv(292, 76%, 59%)
CMYKcmyk(10%, 76%, 0%, 41.2%)
CIE-LABlab(35.23, 55.97, -41.32)
CIE-LCHlch(35.23, 69.57, 323.57°)
OKLaboklab(46.63% 0.148 -0.1156)
OKLCHoklch(46.63% 0.188 322)
XYZxyz(16.1270, 8.6156, 29.6618)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872496 #339624
analogous
#4E2496 #872496 #96246C
triadic
#872496 #968724 #249687
tetradic
#872496 #964E24 #339624 #246C96
square
#872496 #964E24 #339624 #246C96
split-complementary
#872496 #6C9624 #24964E
monochromatic
#2E0C33 #5B1865 #872496 #B330C7 #C85CD8

Accessibility & contrast

On white

7.71
#872496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#872496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872496
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872496#FFFFFF#000000##FFFFFF
##8724961.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#345793
Tritanopia (blue-blind)
#893A5C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872496;
/* rgb */ color: rgb(135, 36, 150);
/* oklch */ color: oklch(46.6% 0.188 322.0);
Tailwind
colors: {
  custom: {
    50: '#ae6ab5',
    500: '#872496',
    950: '#000000',
  },
}
SCSS
$custom: #872496;
$custom-light: #ae6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#872496",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 292.105,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4663,
    "c": 0.18781,
    "h": 322
  },
  "luminance": 0.08615
}

Semantic roles & 50–950 ramp

primary
#872496
secondary
#66BD59
accent
#E44359
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872496

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

Preview Lab → · Contrast checker → · Palette generator →

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