#87498D#87498D

#87498D is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.6% C 0.125 H 323.9°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#87498D
RGBrgb(135, 73, 141)
HSLhsl(295, 32%, 42%)
HSVhsv(295, 48%, 55%)
CMYKcmyk(4.3%, 48.2%, 0%, 44.7%)
CIE-LABlab(40.96, 37.19, -26.78)
CIE-LCHlch(40.96, 45.83, 324.25°)
OKLaboklab(50.64% 0.1011 -0.0737)
OKLCHoklch(50.64% 0.125 323.9)
XYZxyz(17.1815, 11.8399, 26.5744)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87498D #4F8D49
analogous
#65498D #87498D #8D4971
triadic
#87498D #8D8749 #498D87
tetradic
#87498D #8D6549 #4F8D49 #49718D
square
#87498D #8D6549 #4F8D49 #49718D
split-complementary
#87498D #718D49 #498D65
monochromatic
#3A1F3C #603465 #87498D #A864AF #BF8DC4

Accessibility & contrast

On white

6.24
#87498D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#87498D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87498D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87498D#FFFFFF#000000##FFFFFF
##87498D1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#895164
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #87498d;
/* rgb */ color: rgb(135, 73, 141);
/* oklch */ color: oklch(50.6% 0.125 323.9);
Tailwind
colors: {
  custom: {
    50: '#ab7eae',
    500: '#87498d',
    950: '#000000',
  },
}
SCSS
$custom: #87498d;
$custom-light: #ab7eae;
$custom-dark: #000000;
JSON
{
  "hex": "#87498d",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 294.706,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.12505,
    "h": 323.9
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#87498D
secondary
#86B082
accent
#C86069
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #87498D

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

Preview Lab → · Contrast checker → · Palette generator →

#87498D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva