#87249F#87249F

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

Color values

HEX#87249F
RGBrgb(135, 36, 159)
HSLhsl(288, 63%, 38%)
HSVhsv(288, 77%, 62%)
CMYKcmyk(15.1%, 77.4%, 0%, 37.6%)
CIE-LABlab(35.82, 57.67, -45.84)
CIE-LCHlch(35.82, 73.67, 321.52°)
OKLaboklab(47.24% 0.1471 -0.1288)
OKLCHoklch(47.24% 0.196 318.8)
XYZxyz(16.8797, 8.9167, 33.6261)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87249F #3C9F24
analogous
#4A249F #87249F #9F2479
triadic
#87249F #9F8724 #249F87
tetradic
#87249F #9F4A24 #3C9F24 #24799F
square
#87249F #9F4A24 #3C9F24 #24799F
split-complementary
#87249F #799F24 #249F4A
monochromatic
#320D3B #5D196D #87249F #B130D0 #C462DB

Accessibility & contrast

On white

7.55
#87249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87249F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87249F#FFFFFF#000000##FFFFFF
##87249F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#2C579C
Tritanopia (blue-blind)
#873E61
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #87249f;
/* rgb */ color: rgb(135, 36, 159);
/* oklch */ color: oklch(47.2% 0.196 318.8);
Tailwind
colors: {
  custom: {
    50: '#ae6abc',
    500: '#87249f',
    950: '#000000',
  },
}
SCSS
$custom: #87249f;
$custom-light: #ae6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#87249f",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 288.293,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47237,
    "c": 0.19553,
    "h": 318.8
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#87249F
secondary
#71C15E
accent
#E64262
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #87249F

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

Preview Lab → · Contrast checker → · Palette generator →

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