#87168F#87168F

#87168F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.195 H 325.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#87168F
RGBrgb(135, 22, 143)
HSLhsl(296, 73%, 32%)
HSVhsv(296, 85%, 56%)
CMYKcmyk(5.6%, 84.6%, 0%, 43.9%)
CIE-LABlab(33.37, 58.81, -40.01)
CIE-LCHlch(33.37, 71.13, 325.77°)
OKLaboklab(45.17% 0.1598 -0.1117)
OKLCHoklch(45.17% 0.195 325.1)
XYZxyz(15.2361, 7.7089, 26.6668)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87168F #1E8F16
analogous
#4B168F #87168F #8F165B
triadic
#87168F #8F8716 #168F87
tetradic
#87168F #8F4B16 #1E8F16 #165B8F
square
#87168F #8F4B16 #1E8F16 #165B8F
split-complementary
#87168F #5B8F16 #168F4B
monochromatic
#230625 #550E5A #87168F #B91EC4 #D73EE1

Accessibility & contrast

On white

8.26
#87168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#87168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87168F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87168F#FFFFFF#000000##FFFFFF
##87168F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#33538C
Tritanopia (blue-blind)
#8A3055
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87168f;
/* rgb */ color: rgb(135, 22, 143);
/* oklch */ color: oklch(45.2% 0.195 325.1);
Tailwind
colors: {
  custom: {
    50: '#ae65b0',
    500: '#87168f',
    950: '#000000',
  },
}
SCSS
$custom: #87168f;
$custom-light: #ae65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87168f",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 296.033,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.19498,
    "h": 325.1
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#87168F
secondary
#48C13F
accent
#F03844
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #87168F

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

Preview Lab → · Contrast checker → · Palette generator →

#87168F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva