#872598#872598

#872598 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.188 H 321.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#872598
RGBrgb(135, 37, 152)
HSLhsl(291, 61%, 37%)
HSVhsv(291, 76%, 60%)
CMYKcmyk(11.2%, 75.7%, 0%, 40.4%)
CIE-LABlab(35.48, 56.00, -42.14)
CIE-LCHlch(35.48, 70.08, 323.04°)
OKLaboklab(46.85% 0.147 -0.118)
OKLCHoklch(46.85% 0.188 321.2)
XYZxyz(16.3201, 8.7419, 30.5274)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872598 #369825
analogous
#4D2598 #872598 #982570
triadic
#872598 #988725 #259887
tetradic
#872598 #984D25 #369825 #257098
square
#872598 #984D25 #369825 #257098
split-complementary
#872598 #709825 #25984D
monochromatic
#300D36 #5B1967 #872598 #B331C9 #C65FD8

Accessibility & contrast

On white

7.64
#872598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#872598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872598
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872598#FFFFFF#000000##FFFFFF
##8725981.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#883C5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872598;
/* rgb */ color: rgb(135, 37, 152);
/* oklch */ color: oklch(46.8% 0.188 321.2);
Tailwind
colors: {
  custom: {
    50: '#ae6ab7',
    500: '#872598',
    950: '#000000',
  },
}
SCSS
$custom: #872598;
$custom-light: #ae6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#872598",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 291.13,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.18844,
    "h": 321.2
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#872598
secondary
#6ABD5C
accent
#E4445C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #872598

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

Preview Lab → · Contrast checker → · Palette generator →

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