#87268B#87268B

#87268B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.176 H 326.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#87268B
RGBrgb(135, 38, 139)
HSLhsl(298, 57%, 35%)
HSVhsv(298, 73%, 55%)
CMYKcmyk(2.9%, 72.7%, 0%, 45.5%)
CIE-LABlab(34.81, 53.26, -35.25)
CIE-LCHlch(34.81, 63.87, 326.50°)
OKLaboklab(46.11% 0.1466 -0.0979)
OKLCHoklch(46.11% 0.176 326.3)
XYZxyz(15.3447, 8.4022, 25.2347)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87268B #2A8B26
analogous
#55268B #87268B #8B265C
triadic
#87268B #8B8726 #268B87
tetradic
#87268B #8B5526 #2A8B26 #265C8B
square
#87268B #8B5526 #2A8B26 #265C8B
split-complementary
#87268B #5C8B26 #268B55
monochromatic
#2A0C2B #58195B #87268B #B633BB #CD5AD2

Accessibility & contrast

On white

7.84
#87268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#87268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87268B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87268B#FFFFFF#000000##FFFFFF
##87268B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4A8E
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#8B3656
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87268b;
/* rgb */ color: rgb(135, 38, 139);
/* oklch */ color: oklch(46.1% 0.176 326.3);
Tailwind
colors: {
  custom: {
    50: '#ad6aad',
    500: '#87268b',
    950: '#000000',
  },
}
SCSS
$custom: #87268b;
$custom-light: #ad6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#87268b",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 297.624,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.17627,
    "h": 326.3
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#87268B
secondary
#5AB756
accent
#E0474E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87268B

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

Preview Lab → · Contrast checker → · Palette generator →

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