#872289#872289

#872289 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.179 H 327.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#872289
RGBrgb(135, 34, 137)
HSLhsl(299, 60%, 34%)
HSVhsv(299, 75%, 54%)
CMYKcmyk(1.5%, 75.2%, 0%, 46.3%)
CIE-LABlab(34.19, 54.32, -34.99)
CIE-LCHlch(34.19, 64.61, 327.21°)
OKLaboklab(45.63% 0.1506 -0.0971)
OKLCHoklch(45.63% 0.179 327.2)
XYZxyz(15.0788, 8.1022, 24.4317)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872289 #248922
analogous
#532289 #872289 #892257
triadic
#872289 #898722 #228987
tetradic
#872289 #895322 #248922 #225789
square
#872289 #895322 #248922 #225789
split-complementary
#872289 #578922 #228953
monochromatic
#260A27 #571658 #872289 #B72EBA #D151D4

Accessibility & contrast

On white

8.01
#872289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#872289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872289
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872289#FFFFFF#000000##FFFFFF
##8722891.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#3C5586
Tritanopia (blue-blind)
#8B3354
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872289;
/* rgb */ color: rgb(135, 34, 137);
/* oklch */ color: oklch(45.6% 0.179 327.2);
Tailwind
colors: {
  custom: {
    50: '#ad69ac',
    500: '#872289',
    950: '#000000',
  },
}
SCSS
$custom: #872289;
$custom-light: #ad69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#872289",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 298.835,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45633,
    "c": 0.17916,
    "h": 327.2
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#872289
secondary
#51B84F
accent
#E34448
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872289

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

Preview Lab → · Contrast checker → · Palette generator →

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