#872790#872790

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

Color values

HEX#872790
RGBrgb(135, 39, 144)
HSLhsl(295, 57%, 36%)
HSVhsv(295, 73%, 56%)
CMYKcmyk(6.2%, 72.9%, 0%, 43.5%)
CIE-LABlab(35.24, 53.80, -37.64)
CIE-LCHlch(35.24, 65.66, 325.02°)
OKLaboklab(46.51% 0.1455 -0.1049)
OKLCHoklch(46.51% 0.179 324.2)
XYZxyz(15.7508, 8.6165, 27.2137)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872790 #309027
analogous
#522790 #872790 #902764
triadic
#872790 #908727 #279087
tetradic
#872790 #905227 #309027 #276490
square
#872790 #905227 #309027 #276490
split-complementary
#872790 #649027 #279052
monochromatic
#2D0D30 #5A1A60 #872790 #B434C0 #C95ED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872790#FFFFFF#000000##FFFFFF
##8727901.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)
#044C93
Deuteranopia (green-blind)
#3A578D
Tritanopia (blue-blind)
#8A3959
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #872790;
/* rgb */ color: rgb(135, 39, 144);
/* oklch */ color: oklch(46.5% 0.179 324.2);
Tailwind
colors: {
  custom: {
    50: '#ad6bb1',
    500: '#872790',
    950: '#000000',
  },
}
SCSS
$custom: #872790;
$custom-light: #ad6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#872790",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 294.857,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46511,
    "c": 0.17932,
    "h": 324.2
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#872790
secondary
#62B95A
accent
#E14754
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #872790

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

Preview Lab → · Contrast checker → · Palette generator →

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