#87268D#87268D

#87268D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.178 H 325.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#87268D
RGBrgb(135, 38, 141)
HSLhsl(297, 58%, 35%)
HSVhsv(297, 73%, 55%)
CMYKcmyk(4.3%, 73%, 0%, 44.7%)
CIE-LABlab(34.93, 53.62, -36.30)
CIE-LCHlch(34.93, 64.75, 325.91°)
OKLaboklab(46.23% 0.1466 -0.1009)
OKLCHoklch(46.23% 0.178 325.4)
XYZxyz(15.4922, 8.4612, 26.0113)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87268D #2C8D26
analogous
#54268D #87268D #8D265F
triadic
#87268D #8D8726 #268D87
tetradic
#87268D #8D5426 #2C8D26 #265F8D
square
#87268D #8D5426 #2C8D26 #265F8D
split-complementary
#87268D #5F8D26 #268D54
monochromatic
#2B0C2D #59195D #87268D #B533BD #CC5BD3

Accessibility & contrast

On white

7.80
#87268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#87268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87268D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87268D#FFFFFF#000000##FFFFFF
##87268D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094A90
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#8A3757
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87268d;
/* rgb */ color: rgb(135, 38, 141);
/* oklch */ color: oklch(46.2% 0.178 325.4);
Tailwind
colors: {
  custom: {
    50: '#ad6aaf',
    500: '#87268d',
    950: '#000000',
  },
}
SCSS
$custom: #87268d;
$custom-light: #ad6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#87268d",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 296.505,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.17795,
    "h": 325.4
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#87268D
secondary
#5DB857
accent
#E14750
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87268D

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

Preview Lab → · Contrast checker → · Palette generator →

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