#87248F#87248F

#87248F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.182 H 324.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#87248F
RGBrgb(135, 36, 143)
HSLhsl(296, 60%, 35%)
HSVhsv(296, 75%, 56%)
CMYKcmyk(5.6%, 74.8%, 0%, 43.9%)
CIE-LABlab(34.80, 54.69, -37.73)
CIE-LCHlch(34.80, 66.44, 325.40°)
OKLaboklab(46.18% 0.1485 -0.1051)
OKLCHoklch(46.18% 0.182 324.7)
XYZxyz(15.5801, 8.3968, 26.7814)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87248F #2C8F24
analogous
#51248F #87248F #8F2461
triadic
#87248F #8F8724 #248F87
tetradic
#87248F #8F5124 #2C8F24 #24618F
square
#87248F #8F5124 #2C8F24 #24618F
split-complementary
#87248F #618F24 #248F51
monochromatic
#2B0B2D #59185E #87248F #B530C0 #CC58D5

Accessibility & contrast

On white

7.84
#87248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#87248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87248F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87248F#FFFFFF#000000##FFFFFF
##87248F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#39568C
Tritanopia (blue-blind)
#8A3758
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #87248f;
/* rgb */ color: rgb(135, 36, 143);
/* oklch */ color: oklch(46.2% 0.182 324.7);
Tailwind
colors: {
  custom: {
    50: '#ad6ab0',
    500: '#87248f',
    950: '#000000',
  },
}
SCSS
$custom: #87248f;
$custom-light: #ad6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#87248f",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 295.514,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46178,
    "c": 0.1819,
    "h": 324.7
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#87248F
secondary
#5DB955
accent
#E34551
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #87248F

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

Preview Lab → · Contrast checker → · Palette generator →

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