#872285#872285

#872285 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.176 H 328.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#872285
RGBrgb(135, 34, 133)
HSLhsl(301, 60%, 33%)
HSVhsv(301, 75%, 53%)
CMYKcmyk(0%, 74.8%, 1.5%, 47.1%)
CIE-LABlab(33.96, 53.63, -32.88)
CIE-LCHlch(33.96, 62.91, 328.49°)
OKLaboklab(45.39% 0.1506 -0.091)
OKLCHoklch(45.39% 0.176 328.9)
XYZxyz(14.7972, 7.9895, 22.9485)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872285 #228724
analogous
#562287 #872285 #872252
triadic
#872285 #858722 #228587
tetradic
#872285 #875622 #228724 #225287
square
#872285 #875622 #228724 #225287
split-complementary
#872285 #528722 #228756
monochromatic
#250925 #561655 #872285 #B82EB5 #D350D0

Accessibility & contrast

On white

8.08
#872285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#872285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872285
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872285#FFFFFF#000000##FFFFFF
##8722851.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114788
Deuteranopia (green-blind)
#3F5482
Tritanopia (blue-blind)
#8C3152
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #872285;
/* rgb */ color: rgb(135, 34, 133);
/* oklch */ color: oklch(45.4% 0.176 328.9);
Tailwind
colors: {
  custom: {
    50: '#ad68a9',
    500: '#872285',
    950: '#000000',
  },
}
SCSS
$custom: #872285;
$custom-light: #ad68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#872285",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 301.188,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4539,
    "c": 0.17593,
    "h": 328.9
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#872285
secondary
#4EB750
accent
#E34845
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872285

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

Preview Lab → · Contrast checker → · Palette generator →

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