#872485#872485

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

Color values

HEX#872485
RGBrgb(135, 36, 133)
HSLhsl(301, 58%, 34%)
HSVhsv(301, 73%, 53%)
CMYKcmyk(0%, 73.3%, 1.5%, 47.1%)
CIE-LABlab(34.21, 52.93, -32.50)
CIE-LCHlch(34.21, 62.11, 328.45°)
OKLaboklab(45.57% 0.1486 -0.0899)
OKLCHoklch(45.57% 0.174 328.8)
XYZxyz(14.8560, 8.1072, 22.9681)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872485 #248726
analogous
#572487 #872485 #872453
triadic
#872485 #858724 #248587
tetradic
#872485 #875724 #248726 #245387
square
#872485 #875724 #248726 #245387
split-complementary
#872485 #538724 #248757
monochromatic
#260A26 #571755 #872485 #B731B5 #D154CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872485#FFFFFF#000000##FFFFFF
##8724851.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)
#154888
Deuteranopia (green-blind)
#405583
Tritanopia (blue-blind)
#8C3252
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872485;
/* rgb */ color: rgb(135, 36, 133);
/* oklch */ color: oklch(45.6% 0.174 328.8);
Tailwind
colors: {
  custom: {
    50: '#ad69a9',
    500: '#872485',
    950: '#000000',
  },
}
SCSS
$custom: #872485;
$custom-light: #ad69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#872485",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 301.212,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.17367,
    "h": 328.8
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#872485
secondary
#51B553
accent
#E14A47
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872485

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

Preview Lab → · Contrast checker → · Palette generator →

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