#87267B#87267B

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

Color values

HEX#87267B
RGBrgb(135, 38, 123)
HSLhsl(307, 56%, 34%)
HSVhsv(307, 72%, 53%)
CMYKcmyk(0%, 71.9%, 8.9%, 47.1%)
CIE-LABlab(33.92, 50.52, -26.71)
CIE-LCHlch(33.92, 57.15, 332.13°)
OKLaboklab(45.18% 0.146 -0.0732)
OKLCHoklch(45.18% 0.163 333.4)
XYZxyz(14.2600, 7.9684, 19.5221)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87267B #268732
analogous
#632687 #87267B #87264B
triadic
#87267B #7B8726 #267B87
tetradic
#87267B #876326 #268732 #264B87
square
#87267B #876326 #268732 #264B87
split-complementary
#87267B #4B8726 #268763
monochromatic
#270B24 #57194F #87267B #B733A7 #D058C1

Accessibility & contrast

On white

8.10
#87267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#87267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87267B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87267B#FFFFFF#000000##FFFFFF
##87267B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#8D2F4D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87267b;
/* rgb */ color: rgb(135, 38, 123);
/* oklch */ color: oklch(45.2% 0.163 333.4);
Tailwind
colors: {
  custom: {
    50: '#ad6aa1',
    500: '#87267b',
    950: '#000000',
  },
}
SCSS
$custom: #87267b;
$custom-light: #ad6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#87267b",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 307.423,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45181,
    "c": 0.1633,
    "h": 333.4
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#87267B
secondary
#54B560
accent
#DF5B48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #87267B

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

Preview Lab → · Contrast checker → · Palette generator →

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