#872389#872389

#872389 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.178 H 327.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#872389
RGBrgb(135, 35, 137)
HSLhsl(299, 59%, 34%)
HSVhsv(299, 74%, 54%)
CMYKcmyk(1.5%, 74.5%, 0%, 46.3%)
CIE-LABlab(34.31, 53.98, -34.80)
CIE-LCHlch(34.31, 64.22, 327.19°)
OKLaboklab(45.72% 0.1496 -0.0965)
OKLCHoklch(45.72% 0.178 327.2)
XYZxyz(15.1078, 8.1602, 24.4414)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872389 #258923
analogous
#542389 #872389 #892358
triadic
#872389 #898723 #238987
tetradic
#872389 #895423 #258923 #235889
square
#872389 #895423 #258923 #235889
split-complementary
#872389 #588923 #238954
monochromatic
#270A28 #571758 #872389 #B72FBA #D153D3

Accessibility & contrast

On white

7.98
#872389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#872389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872389
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872389#FFFFFF#000000##FFFFFF
##8723891.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498C
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#8B3354
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872389;
/* rgb */ color: rgb(135, 35, 137);
/* oklch */ color: oklch(45.7% 0.178 327.2);
Tailwind
colors: {
  custom: {
    50: '#ad69ac',
    500: '#872389',
    950: '#000000',
  },
}
SCSS
$custom: #872389;
$custom-light: #ad69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#872389",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 298.824,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45718,
    "c": 0.17805,
    "h": 327.2
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#872389
secondary
#53B751
accent
#E24548
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872389

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

Preview Lab → · Contrast checker → · Palette generator →

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