#87268A#87268A

#87268A is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.175 H 326.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#87268A
RGBrgb(135, 38, 138)
HSLhsl(298, 57%, 35%)
HSVhsv(298, 72%, 54%)
CMYKcmyk(2.2%, 72.5%, 0%, 45.9%)
CIE-LABlab(34.75, 53.08, -34.73)
CIE-LCHlch(34.75, 63.43, 326.81°)
OKLaboklab(46.05% 0.1466 -0.0964)
OKLCHoklch(46.05% 0.175 326.7)
XYZxyz(15.2720, 8.3731, 24.8516)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87268A #298A26
analogous
#55268A #87268A #8A265B
triadic
#87268A #8A8726 #268A87
tetradic
#87268A #8A5526 #298A26 #265B8A
square
#87268A #8A5526 #298A26 #265B8A
split-complementary
#87268A #5B8A26 #268A55
monochromatic
#290C2A #58195A #87268A #B633BA #CE59D1

Accessibility & contrast

On white

7.85
#87268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#87268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87268A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87268A#FFFFFF#000000##FFFFFF
##87268A1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#8B3655
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87268a;
/* rgb */ color: rgb(135, 38, 138);
/* oklch */ color: oklch(46.0% 0.175 326.7);
Tailwind
colors: {
  custom: {
    50: '#ad6aac',
    500: '#87268a',
    950: '#000000',
  },
}
SCSS
$custom: #87268a;
$custom-light: #ad6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#87268a",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 298.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.17542,
    "h": 326.7
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#87268A
secondary
#59B656
accent
#E0484C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #87268A

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

Preview Lab → · Contrast checker → · Palette generator →

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