#872890#872890

#872890 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.178 H 324.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#872890
RGBrgb(135, 40, 144)
HSLhsl(295, 57%, 36%)
HSVhsv(295, 72%, 56%)
CMYKcmyk(6.2%, 72.2%, 0%, 43.5%)
CIE-LABlab(35.37, 53.42, -37.43)
CIE-LCHlch(35.37, 65.23, 324.98°)
OKLaboklab(46.61% 0.1444 -0.1043)
OKLCHoklch(46.61% 0.178 324.2)
XYZxyz(15.7841, 8.6831, 27.2248)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872890 #319028
analogous
#532890 #872890 #902865
triadic
#872890 #908728 #289087
tetradic
#872890 #905328 #319028 #286590
square
#872890 #905328 #319028 #286590
split-complementary
#872890 #659028 #289053
monochromatic
#2D0D30 #5A1B60 #872890 #B435C0 #C960D3

Accessibility & contrast

On white

7.67
#872890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#872890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872890
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872890#FFFFFF#000000##FFFFFF
##8728901.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074C93
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#8A3A59
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872890;
/* rgb */ color: rgb(135, 40, 144);
/* oklch */ color: oklch(46.6% 0.178 324.2);
Tailwind
colors: {
  custom: {
    50: '#ad6bb1',
    500: '#872890',
    950: '#000000',
  },
}
SCSS
$custom: #872890;
$custom-light: #ad6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#872890",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 294.808,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46606,
    "c": 0.17814,
    "h": 324.2
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#872890
secondary
#64B85C
accent
#E04855
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #872890

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

Preview Lab → · Contrast checker → · Palette generator →

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