#87267C#87267C

#87267C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.164 H 332.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#87267C
RGBrgb(135, 38, 124)
HSLhsl(307, 56%, 34%)
HSVhsv(307, 72%, 53%)
CMYKcmyk(0%, 71.9%, 8.1%, 47.1%)
CIE-LABlab(33.97, 50.69, -27.26)
CIE-LCHlch(33.97, 57.55, 331.73°)
OKLaboklab(45.24% 0.1461 -0.0747)
OKLCHoklch(45.24% 0.164 332.9)
XYZxyz(14.3229, 7.9935, 19.8534)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87267C #268731
analogous
#622687 #87267C #87264C
triadic
#87267C #7C8726 #267C87
tetradic
#87267C #876226 #268731 #264C87
square
#87267C #876226 #268731 #264C87
split-complementary
#87267C #4C8726 #268762
monochromatic
#270B24 #571950 #87267C #B733A8 #D058C2

Accessibility & contrast

On white

8.08
#87267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87267C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87267C#FFFFFF#000000##FFFFFF
##87267C1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#8D2F4E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87267c;
/* rgb */ color: rgb(135, 38, 124);
/* oklch */ color: oklch(45.2% 0.164 332.9);
Tailwind
colors: {
  custom: {
    50: '#ad6aa2',
    500: '#87267c',
    950: '#000000',
  },
}
SCSS
$custom: #87267c;
$custom-light: #ad6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#87267c",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 306.804,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.16407,
    "h": 332.9
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#87267C
secondary
#54B55F
accent
#DF5A48
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87267C

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

Preview Lab → · Contrast checker → · Palette generator →

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