#87168E#87168E

#87168E is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.194 H 325.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#87168E
RGBrgb(135, 22, 142)
HSLhsl(297, 73%, 32%)
HSVhsv(297, 85%, 56%)
CMYKcmyk(4.9%, 84.5%, 0%, 44.3%)
CIE-LABlab(33.30, 58.64, -39.50)
CIE-LCHlch(33.30, 70.70, 326.04°)
OKLaboklab(45.1% 0.1599 -0.1102)
OKLCHoklch(45.1% 0.194 325.4)
XYZxyz(15.1607, 7.6788, 26.2696)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87168E #1D8E16
analogous
#4B168E #87168E #8E1659
triadic
#87168E #8E8716 #168E87
tetradic
#87168E #8E4B16 #1D8E16 #16598E
square
#87168E #8E4B16 #1D8E16 #16598E
split-complementary
#87168E #598E16 #168E4B
monochromatic
#220624 #550E59 #87168E #B91EC3 #D73DE1

Accessibility & contrast

On white

8.28
#87168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87168E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87168E#FFFFFF#000000##FFFFFF
##87168E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#8A2F54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87168e;
/* rgb */ color: rgb(135, 22, 142);
/* oklch */ color: oklch(45.1% 0.194 325.4);
Tailwind
colors: {
  custom: {
    50: '#ae65b0',
    500: '#87168e',
    950: '#000000',
  },
}
SCSS
$custom: #87168e;
$custom-light: #ae65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#87168e",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 296.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.451,
    "c": 0.19421,
    "h": 325.4
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#87168E
secondary
#46C13F
accent
#F03843
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #87168E

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

Preview Lab → · Contrast checker → · Palette generator →

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