#872380#872380

#872380 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.171 H 331.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#872380
RGBrgb(135, 35, 128)
HSLhsl(304, 59%, 33%)
HSVhsv(304, 74%, 53%)
CMYKcmyk(0%, 74.1%, 5.2%, 47.1%)
CIE-LABlab(33.80, 52.44, -30.02)
CIE-LCHlch(33.80, 60.43, 330.21°)
OKLaboklab(45.18% 0.1495 -0.0827)
OKLCHoklch(45.18% 0.171 331)
XYZxyz(14.4890, 7.9126, 21.1821)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872380 #23872A
analogous
#5C2387 #872380 #87234E
triadic
#872380 #808723 #238087
tetradic
#872380 #875C23 #23872A #234E87
square
#872380 #875C23 #23872A #234E87
split-complementary
#872380 #4E8723 #23875C
monochromatic
#260A24 #561652 #872380 #B830AE #D252C9

Accessibility & contrast

On white

8.13
#872380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#872380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872380
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872380#FFFFFF#000000##FFFFFF
##8723801.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#42547E
Tritanopia (blue-blind)
#8D2F4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872380;
/* rgb */ color: rgb(135, 35, 128);
/* oklch */ color: oklch(45.2% 0.171 331.0);
Tailwind
colors: {
  custom: {
    50: '#ad69a5',
    500: '#872380',
    950: '#000000',
  },
}
SCSS
$custom: #872380;
$custom-light: #ad69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#872380",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 304.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.17083,
    "h": 331
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#872380
secondary
#50B657
accent
#E25146
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #872380

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

Preview Lab → · Contrast checker → · Palette generator →

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