#872489#872489

#872489 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.177 H 327.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#872489
RGBrgb(135, 36, 137)
HSLhsl(299, 58%, 34%)
HSVhsv(299, 74%, 54%)
CMYKcmyk(1.5%, 73.7%, 0%, 46.3%)
CIE-LABlab(34.44, 53.63, -34.61)
CIE-LCHlch(34.44, 63.82, 327.17°)
OKLaboklab(45.81% 0.1486 -0.096)
OKLCHoklch(45.81% 0.177 327.1)
XYZxyz(15.1377, 8.2198, 24.4513)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872489 #268924
analogous
#552489 #872489 #892459
triadic
#872489 #898724 #248987
tetradic
#872489 #895524 #268924 #245989
square
#872489 #895524 #268924 #245989
split-complementary
#872489 #598924 #248955
monochromatic
#270B28 #571759 #872489 #B731B9 #D055D2

Accessibility & contrast

On white

7.94
#872489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#872489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872489
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872489#FFFFFF#000000##FFFFFF
##8724891.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872489;
/* rgb */ color: rgb(135, 36, 137);
/* oklch */ color: oklch(45.8% 0.177 327.1);
Tailwind
colors: {
  custom: {
    50: '#ad69ac',
    500: '#872489',
    950: '#000000',
  },
}
SCSS
$custom: #872489;
$custom-light: #ad69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#872489",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 298.812,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.17692,
    "h": 327.1
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#872489
secondary
#54B752
accent
#E24649
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872489

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

Preview Lab → · Contrast checker → · Palette generator →

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