#87267D#87267D

#87267D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.165 H 332.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#87267D
RGBrgb(135, 38, 125)
HSLhsl(306, 56%, 34%)
HSVhsv(306, 72%, 53%)
CMYKcmyk(0%, 71.9%, 7.4%, 47.1%)
CIE-LABlab(34.02, 50.85, -27.80)
CIE-LCHlch(34.02, 57.95, 331.34°)
OKLaboklab(45.29% 0.1461 -0.0763)
OKLCHoklch(45.29% 0.165 332.4)
XYZxyz(14.3865, 8.0190, 20.1882)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87267D #268730
analogous
#612687 #87267D #87264D
triadic
#87267D #7D8726 #267D87
tetradic
#87267D #876126 #268730 #264D87
square
#87267D #876126 #268730 #264D87
split-complementary
#87267D #4D8726 #268761
monochromatic
#270B25 #571951 #87267D #B733A9 #D058C3

Accessibility & contrast

On white

8.07
#87267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#87267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87267D
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87267D#FFFFFF#000000##FFFFFF
##87267D1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#45557B
Tritanopia (blue-blind)
#8D304E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87267d;
/* rgb */ color: rgb(135, 38, 125);
/* oklch */ color: oklch(45.3% 0.165 332.4);
Tailwind
colors: {
  custom: {
    50: '#ad6aa3',
    500: '#87267d',
    950: '#000000',
  },
}
SCSS
$custom: #87267d;
$custom-light: #ad6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#87267d",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 306.186,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45291,
    "c": 0.16486,
    "h": 332.4
  },
  "luminance": 0.08018
}

Semantic roles & 50–950 ramp

primary
#87267D
secondary
#54B55E
accent
#DF5848
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87267D

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

Preview Lab → · Contrast checker → · Palette generator →

#87267D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva