#87249A#87249A

#87249A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.191 H 320.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#87249A
RGBrgb(135, 36, 154)
HSLhsl(290, 62%, 37%)
HSVhsv(290, 77%, 60%)
CMYKcmyk(12.3%, 76.6%, 0%, 39.6%)
CIE-LABlab(35.49, 56.72, -43.34)
CIE-LCHlch(35.49, 71.38, 322.62°)
OKLaboklab(46.9% 0.1477 -0.1215)
OKLCHoklch(46.9% 0.191 320.6)
XYZxyz(16.4546, 8.7466, 31.3871)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87249A #379A24
analogous
#4C249A #87249A #9A2472
triadic
#87249A #9A8724 #249A87
tetradic
#87249A #9A4C24 #379A24 #24729A
square
#87249A #9A4C24 #379A24 #24729A
split-complementary
#87249A #729A24 #249A4C
monochromatic
#300D37 #5C1868 #87249A #B230CC #C65FDA

Accessibility & contrast

On white

7.64
#87249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#87249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87249A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87249A#FFFFFF#000000##FFFFFF
##87249A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#883C5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87249a;
/* rgb */ color: rgb(135, 36, 154);
/* oklch */ color: oklch(46.9% 0.191 320.6);
Tailwind
colors: {
  custom: {
    50: '#ae6ab8',
    500: '#87249a',
    950: '#000000',
  },
}
SCSS
$custom: #87249a;
$custom-light: #ae6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#87249a",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 290.339,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.19122,
    "h": 320.6
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#87249A
secondary
#6BBF5B
accent
#E5435D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87249A

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

Preview Lab → · Contrast checker → · Palette generator →

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