#87248E#87248E

#87248E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.181 H 325.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#87248E
RGBrgb(135, 36, 142)
HSLhsl(296, 60%, 35%)
HSVhsv(296, 75%, 56%)
CMYKcmyk(4.9%, 74.6%, 0%, 44.3%)
CIE-LABlab(34.73, 54.51, -37.21)
CIE-LCHlch(34.73, 66.00, 325.68°)
OKLaboklab(46.12% 0.1485 -0.1036)
OKLCHoklch(46.12% 0.181 325.1)
XYZxyz(15.5047, 8.3666, 26.3842)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87248E #2B8E24
analogous
#52248E #87248E #8E2460
triadic
#87248E #8E8724 #248E87
tetradic
#87248E #8E5224 #2B8E24 #24608E
square
#87248E #8E5224 #2B8E24 #24608E
split-complementary
#87248E #608E24 #248E52
monochromatic
#2A0B2C #59185D #87248E #B530BF #CC58D5

Accessibility & contrast

On white

7.86
#87248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#87248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87248E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87248E#FFFFFF#000000##FFFFFF
##87248E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#3A568B
Tritanopia (blue-blind)
#8A3657
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87248e;
/* rgb */ color: rgb(135, 36, 142);
/* oklch */ color: oklch(46.1% 0.181 325.1);
Tailwind
colors: {
  custom: {
    50: '#ad6aaf',
    500: '#87248e',
    950: '#000000',
  },
}
SCSS
$custom: #87248e;
$custom-light: #ad6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#87248e",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 296.038,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.18106,
    "h": 325.1
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#87248E
secondary
#5BB955
accent
#E3454F
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87248E

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

Preview Lab → · Contrast checker → · Palette generator →

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