#872089#872089

#872089 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.181 H 327.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#872089
RGBrgb(135, 32, 137)
HSLhsl(299, 62%, 33%)
HSVhsv(299, 77%, 54%)
CMYKcmyk(1.5%, 76.6%, 0%, 46.3%)
CIE-LABlab(33.96, 54.98, -35.36)
CIE-LCHlch(33.96, 65.37, 327.25°)
OKLaboklab(45.47% 0.1524 -0.0981)
OKLCHoklch(45.47% 0.181 327.2)
XYZxyz(15.0233, 7.9911, 24.4132)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872089 #228920
analogous
#522089 #872089 #892056
triadic
#872089 #898720 #208987
tetradic
#872089 #895220 #228920 #205689
square
#872089 #895220 #228920 #205689
split-complementary
#872089 #568920 #208952
monochromatic
#250926 #561457 #872089 #B82CBB #D34ED6

Accessibility & contrast

On white

8.08
#872089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#872089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872089
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872089#FFFFFF#000000##FFFFFF
##8720891.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03488C
Deuteranopia (green-blind)
#3B5486
Tritanopia (blue-blind)
#8B3253
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872089;
/* rgb */ color: rgb(135, 32, 137);
/* oklch */ color: oklch(45.5% 0.181 327.2);
Tailwind
colors: {
  custom: {
    50: '#ad68ac',
    500: '#872089',
    950: '#000000',
  },
}
SCSS
$custom: #872089;
$custom-light: #ad68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#872089",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 298.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.18129,
    "h": 327.2
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#872089
secondary
#4EB94C
accent
#E54346
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872089

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

Preview Lab → · Contrast checker → · Palette generator →

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