#87267E#87267E

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

Color values

HEX#87267E
RGBrgb(135, 38, 126)
HSLhsl(306, 56%, 34%)
HSVhsv(306, 72%, 53%)
CMYKcmyk(0%, 71.9%, 6.7%, 47.1%)
CIE-LABlab(34.08, 51.02, -28.34)
CIE-LCHlch(34.08, 58.36, 330.95°)
OKLaboklab(45.35% 0.1462 -0.0779)
OKLCHoklch(45.35% 0.166 332)
XYZxyz(14.4507, 8.0446, 20.5263)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87267E #26872F
analogous
#602687 #87267E #87264E
triadic
#87267E #7E8726 #267E87
tetradic
#87267E #876026 #26872F #264E87
square
#87267E #876026 #26872F #264E87
split-complementary
#87267E #4E8726 #268760
monochromatic
#270B25 #571951 #87267E #B733AB #D058C5

Accessibility & contrast

On white

8.05
#87267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#87267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87267E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87267E#FFFFFF#000000##FFFFFF
##87267E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#8D304F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87267e;
/* rgb */ color: rgb(135, 38, 126);
/* oklch */ color: oklch(45.3% 0.166 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad6aa4',
    500: '#87267e',
    950: '#000000',
  },
}
SCSS
$custom: #87267e;
$custom-light: #ad6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#87267e",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 305.567,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45347,
    "c": 0.16565,
    "h": 332
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#87267E
secondary
#54B55D
accent
#DF5648
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87267E

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

Preview Lab → · Contrast checker → · Palette generator →

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