#87249B#87249B

#87249B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.192 H 320.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#87249B
RGBrgb(135, 36, 155)
HSLhsl(290, 62%, 37%)
HSVhsv(290, 77%, 61%)
CMYKcmyk(12.9%, 76.8%, 0%, 39.2%)
CIE-LABlab(35.56, 56.91, -43.84)
CIE-LCHlch(35.56, 71.84, 322.39°)
OKLaboklab(46.96% 0.1476 -0.1229)
OKLCHoklch(46.96% 0.192 320.2)
XYZxyz(16.5382, 8.7801, 31.8276)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87249B #389B24
analogous
#4B249B #87249B #9B2474
triadic
#87249B #9B8724 #249B87
tetradic
#87249B #9B4B24 #389B24 #24749B
square
#87249B #9B4B24 #389B24 #24749B
split-complementary
#87249B #749B24 #249B4B
monochromatic
#300D38 #5C1869 #87249B #B230CD #C55FDA

Accessibility & contrast

On white

7.62
#87249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#87249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87249B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87249B#FFFFFF#000000##FFFFFF
##87249B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#305798
Tritanopia (blue-blind)
#883C5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87249b;
/* rgb */ color: rgb(135, 36, 155);
/* oklch */ color: oklch(47.0% 0.192 320.2);
Tailwind
colors: {
  custom: {
    50: '#ae6ab9',
    500: '#87249b',
    950: '#000000',
  },
}
SCSS
$custom: #87249b;
$custom-light: #ae6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#87249b",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 289.916,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.19208,
    "h": 320.2
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#87249B
secondary
#6DBF5C
accent
#E5425E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87249B

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

Preview Lab → · Contrast checker → · Palette generator →

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