#872595#872595

#872595 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.186 H 322.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#872595
RGBrgb(135, 37, 149)
HSLhsl(293, 60%, 36%)
HSVhsv(293, 75%, 58%)
CMYKcmyk(9.4%, 75.2%, 0%, 41.6%)
CIE-LABlab(35.29, 55.44, -40.61)
CIE-LCHlch(35.29, 68.72, 323.77°)
OKLaboklab(46.65% 0.1472 -0.1135)
OKLCHoklch(46.65% 0.186 322.4)
XYZxyz(16.0775, 8.6449, 29.2497)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872595 #339525
analogous
#4F2595 #872595 #95256B
triadic
#872595 #958725 #259587
tetradic
#872595 #954F25 #339525 #256B95
square
#872595 #954F25 #339525 #256B95
split-complementary
#872595 #6B9525 #25954F
monochromatic
#2E0D33 #5B1964 #872595 #B331C6 #C85ED7

Accessibility & contrast

On white

7.70
#872595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#872595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872595
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872595#FFFFFF#000000##FFFFFF
##8725951.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872595;
/* rgb */ color: rgb(135, 37, 149);
/* oklch */ color: oklch(46.7% 0.186 322.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ab5',
    500: '#872595',
    950: '#000000',
  },
}
SCSS
$custom: #872595;
$custom-light: #ae6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#872595",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 292.5,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46651,
    "c": 0.18587,
    "h": 322.4
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#872595
secondary
#66BC5A
accent
#E34458
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872595

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

Preview Lab → · Contrast checker → · Palette generator →

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