#872086#872086

#872086 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.179 H 328.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#872086
RGBrgb(135, 32, 134)
HSLhsl(301, 62%, 33%)
HSVhsv(301, 76%, 53%)
CMYKcmyk(0%, 76.3%, 0.7%, 47.1%)
CIE-LABlab(33.79, 54.46, -33.78)
CIE-LCHlch(33.79, 64.09, 328.19°)
OKLaboklab(45.28% 0.1525 -0.0936)
OKLCHoklch(45.28% 0.179 328.5)
XYZxyz(14.8111, 7.9063, 23.2956)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872086 #208721
analogous
#552087 #872086 #872052
triadic
#872086 #868720 #208687
tetradic
#872086 #875520 #208721 #205287
square
#872086 #875520 #208721 #205287
split-complementary
#872086 #528720 #208755
monochromatic
#240924 #561455 #872086 #B82CB7 #D54DD3

Accessibility & contrast

On white

8.14
#872086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872086
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872086#FFFFFF#000000##FFFFFF
##8720861.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#8C3052
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #872086;
/* rgb */ color: rgb(135, 32, 134);
/* oklch */ color: oklch(45.3% 0.179 328.5);
Tailwind
colors: {
  custom: {
    50: '#ad68aa',
    500: '#872086',
    950: '#000000',
  },
}
SCSS
$custom: #872086;
$custom-light: #ad68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#872086",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 300.583,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45284,
    "c": 0.17889,
    "h": 328.5
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#872086
secondary
#4BB84C
accent
#E54543
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #872086

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

Preview Lab → · Contrast checker → · Palette generator →

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