#87268C#87268C

#87268C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.177 H 325.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#87268C
RGBrgb(135, 38, 140)
HSLhsl(297, 57%, 35%)
HSVhsv(297, 73%, 55%)
CMYKcmyk(3.6%, 72.9%, 0%, 45.1%)
CIE-LABlab(34.87, 53.44, -35.77)
CIE-LCHlch(34.87, 64.31, 326.20°)
OKLaboklab(46.17% 0.1466 -0.0994)
OKLCHoklch(46.17% 0.177 325.9)
XYZxyz(15.4181, 8.4316, 25.6212)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87268C #2B8C26
analogous
#54268C #87268C #8C265E
triadic
#87268C #8C8726 #268C87
tetradic
#87268C #8C5426 #2B8C26 #265E8C
square
#87268C #8C5426 #2B8C26 #265E8C
split-complementary
#87268C #5E8C26 #268C54
monochromatic
#2A0C2C #59195C #87268C #B533BC #CC5AD2

Accessibility & contrast

On white

7.82
#87268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87268C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87268C#FFFFFF#000000##FFFFFF
##87268C1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8F
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#8A3757
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87268c;
/* rgb */ color: rgb(135, 38, 140);
/* oklch */ color: oklch(46.2% 0.177 325.9);
Tailwind
colors: {
  custom: {
    50: '#ad6aae',
    500: '#87268c',
    950: '#000000',
  },
}
SCSS
$custom: #87268c;
$custom-light: #ad6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#87268c",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 297.059,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4617,
    "c": 0.17711,
    "h": 325.9
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#87268C
secondary
#5BB757
accent
#E1474F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87268C

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

Preview Lab → · Contrast checker → · Palette generator →

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