#87268E#87268E

#87268E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.179 H 325.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#87268E
RGBrgb(135, 38, 142)
HSLhsl(296, 58%, 35%)
HSVhsv(296, 73%, 56%)
CMYKcmyk(4.9%, 73.2%, 0%, 44.3%)
CIE-LABlab(34.99, 53.80, -36.81)
CIE-LCHlch(34.99, 65.19, 325.62°)
OKLaboklab(46.29% 0.1465 -0.1024)
OKLCHoklch(46.29% 0.179 325)
XYZxyz(15.5669, 8.4911, 26.4050)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87268E #2D8E26
analogous
#53268E #87268E #8E2661
triadic
#87268E #8E8726 #268E87
tetradic
#87268E #8E5326 #2D8E26 #26618E
square
#87268E #8E5326 #2D8E26 #26618E
split-complementary
#87268E #618E26 #268E53
monochromatic
#2B0C2D #59195E #87268E #B533BE #CB5BD3

Accessibility & contrast

On white

7.78
#87268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87268E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87268E#FFFFFF#000000##FFFFFF
##87268E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064B91
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#8A3858
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87268e;
/* rgb */ color: rgb(135, 38, 142);
/* oklch */ color: oklch(46.3% 0.179 325.0);
Tailwind
colors: {
  custom: {
    50: '#ad6aaf',
    500: '#87268e',
    950: '#000000',
  },
}
SCSS
$custom: #87268e;
$custom-light: #ad6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#87268e",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 295.962,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.17879,
    "h": 325
  },
  "luminance": 0.0849
}

Semantic roles & 50–950 ramp

primary
#87268E
secondary
#5EB858
accent
#E14751
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87268E

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

Preview Lab → · Contrast checker → · Palette generator →

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