#87249E#87249E

#87249E is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.195 H 319.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#87249E
RGBrgb(135, 36, 158)
HSLhsl(289, 63%, 38%)
HSVhsv(289, 77%, 62%)
CMYKcmyk(14.6%, 77.2%, 0%, 38%)
CIE-LABlab(35.76, 57.48, -45.34)
CIE-LCHlch(35.76, 73.21, 321.73°)
OKLaboklab(47.17% 0.1472 -0.1273)
OKLCHoklch(47.17% 0.195 319.1)
XYZxyz(16.7933, 8.8821, 33.1710)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87249E #3B9E24
analogous
#4A249E #87249E #9E2478
triadic
#87249E #9E8724 #249E87
tetradic
#87249E #9E4A24 #3B9E24 #24789E
square
#87249E #9E4A24 #3B9E24 #24789E
split-complementary
#87249E #789E24 #249E4A
monochromatic
#320D3A #5C196C #87249E #B22FD0 #C461DB

Accessibility & contrast

On white

7.56
#87249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#87249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87249E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87249E#FFFFFF#000000##FFFFFF
##87249E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#2D579B
Tritanopia (blue-blind)
#873E60
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87249e;
/* rgb */ color: rgb(135, 36, 158);
/* oklch */ color: oklch(47.2% 0.195 319.1);
Tailwind
colors: {
  custom: {
    50: '#ae6abb',
    500: '#87249e',
    950: '#000000',
  },
}
SCSS
$custom: #87249e;
$custom-light: #ae6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#87249e",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 288.689,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47168,
    "c": 0.19467,
    "h": 319.1
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#87249E
secondary
#70C05E
accent
#E64261
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87249E

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

Preview Lab → · Contrast checker → · Palette generator →

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