#872486#872486

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

Color values

HEX#872486
RGBrgb(135, 36, 134)
HSLhsl(301, 58%, 34%)
HSVhsv(301, 73%, 53%)
CMYKcmyk(0%, 73.3%, 0.7%, 47.1%)
CIE-LABlab(34.26, 53.10, -33.02)
CIE-LCHlch(34.26, 62.54, 328.12°)
OKLaboklab(45.63% 0.1486 -0.0914)
OKLCHoklch(45.63% 0.174 328.4)
XYZxyz(14.9255, 8.1350, 23.3337)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872486 #248725
analogous
#562487 #872486 #872454
triadic
#872486 #868724 #248687
tetradic
#872486 #875624 #248725 #245487
square
#872486 #875624 #248725 #245487
split-complementary
#872486 #548724 #248756
monochromatic
#260A26 #571756 #872486 #B731B6 #D154D0

Accessibility & contrast

On white

7.99
#872486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872486
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872486#FFFFFF#000000##FFFFFF
##8724861.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#8C3353
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #872486;
/* rgb */ color: rgb(135, 36, 134);
/* oklch */ color: oklch(45.6% 0.174 328.4);
Tailwind
colors: {
  custom: {
    50: '#ad69a9',
    500: '#872486',
    950: '#000000',
  },
}
SCSS
$custom: #872486;
$custom-light: #ad69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#872486",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 300.606,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.17448,
    "h": 328.4
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#872486
secondary
#51B552
accent
#E14847
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872486

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

Preview Lab → · Contrast checker → · Palette generator →

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