#872990#872990

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

Color values

HEX#872990
RGBrgb(135, 41, 144)
HSLhsl(295, 56%, 36%)
HSVhsv(295, 72%, 56%)
CMYKcmyk(6.2%, 71.5%, 0%, 43.5%)
CIE-LABlab(35.50, 53.04, -37.22)
CIE-LCHlch(35.50, 64.80, 324.94°)
OKLaboklab(46.7% 0.1434 -0.1036)
OKLCHoklch(46.7% 0.177 324.1)
XYZxyz(15.8182, 8.7514, 27.2362)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872990 #329029
analogous
#542990 #872990 #902966
triadic
#872990 #908729 #299087
tetradic
#872990 #905429 #329029 #296690
square
#872990 #905429 #329029 #296690
split-complementary
#872990 #669029 #299054
monochromatic
#2E0E31 #5A1B60 #872990 #B437C0 #C861D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872990#FFFFFF#000000##FFFFFF
##8729901.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)
#0A4C93
Deuteranopia (green-blind)
#3C578D
Tritanopia (blue-blind)
#8A3A5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872990;
/* rgb */ color: rgb(135, 41, 144);
/* oklch */ color: oklch(46.7% 0.177 324.1);
Tailwind
colors: {
  custom: {
    50: '#ad6cb1',
    500: '#872990',
    950: '#000000',
  },
}
SCSS
$custom: #872990;
$custom-light: #ad6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#872990",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 294.757,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.17692,
    "h": 324.1
  },
  "luminance": 0.0875
}

Semantic roles & 50–950 ramp

primary
#872990
secondary
#65B85D
accent
#DF4956
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #872990

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

Preview Lab → · Contrast checker → · Palette generator →

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