#87267F#87267F

#87267F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 331.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#87267F
RGBrgb(135, 38, 127)
HSLhsl(305, 56%, 34%)
HSVhsv(305, 72%, 53%)
CMYKcmyk(0%, 71.9%, 5.9%, 47.1%)
CIE-LABlab(34.13, 51.19, -28.88)
CIE-LCHlch(34.13, 58.77, 330.57°)
OKLaboklab(45.4% 0.1463 -0.0794)
OKLCHoklch(45.4% 0.166 331.5)
XYZxyz(14.5155, 8.0706, 20.8678)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87267F #26872E
analogous
#5F2687 #87267F #87264F
triadic
#87267F #7F8726 #267F87
tetradic
#87267F #875F26 #26872E #264F87
square
#87267F #875F26 #26872E #264F87
split-complementary
#87267F #4F8726 #26875F
monochromatic
#270B25 #571952 #87267F #B733AC #D058C6

Accessibility & contrast

On white

8.03
#87267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87267F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87267F#FFFFFF#000000##FFFFFF
##87267F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4882
Deuteranopia (green-blind)
#44557D
Tritanopia (blue-blind)
#8D314F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #87267f;
/* rgb */ color: rgb(135, 38, 127);
/* oklch */ color: oklch(45.4% 0.166 331.5);
Tailwind
colors: {
  custom: {
    50: '#ad6aa4',
    500: '#87267f',
    950: '#000000',
  },
}
SCSS
$custom: #87267f;
$custom-light: #ad6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#87267f",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 304.948,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.16645,
    "h": 331.5
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#87267F
secondary
#54B55C
accent
#DF5548
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #87267F

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

Preview Lab → · Contrast checker → · Palette generator →

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