#87268F#87268F

#87268F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.180 H 324.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#87268F
RGBrgb(135, 38, 143)
HSLhsl(295, 58%, 35%)
HSVhsv(295, 73%, 56%)
CMYKcmyk(5.6%, 73.4%, 0%, 43.9%)
CIE-LABlab(35.05, 53.98, -37.33)
CIE-LCHlch(35.05, 65.63, 325.33°)
OKLaboklab(46.36% 0.1465 -0.1039)
OKLCHoklch(46.36% 0.18 324.6)
XYZxyz(15.6423, 8.5213, 26.8021)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87268F #2E8F26
analogous
#53268F #87268F #8F2662
triadic
#87268F #8F8726 #268F87
tetradic
#87268F #8F5326 #2E8F26 #26628F
square
#87268F #8F5326 #2E8F26 #26628F
split-complementary
#87268F #628F26 #268F53
monochromatic
#2C0C2E #59195F #87268F #B533BF #CA5CD4

Accessibility & contrast

On white

7.77
#87268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#87268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87268F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87268F#FFFFFF#000000##FFFFFF
##87268F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#8A3858
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87268f;
/* rgb */ color: rgb(135, 38, 143);
/* oklch */ color: oklch(46.4% 0.180 324.6);
Tailwind
colors: {
  custom: {
    50: '#ad6bb0',
    500: '#87268f',
    950: '#000000',
  },
}
SCSS
$custom: #87268f;
$custom-light: #ad6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#87268f",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 295.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46357,
    "c": 0.17964,
    "h": 324.6
  },
  "luminance": 0.0852
}

Semantic roles & 50–950 ramp

primary
#87268F
secondary
#60B958
accent
#E14752
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87268F

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

Preview Lab → · Contrast checker → · Palette generator →

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