#87488E#87488E

#87488E is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.5% C 0.128 H 323.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#87488E
RGBrgb(135, 72, 142)
HSLhsl(294, 33%, 42%)
HSVhsv(294, 49%, 56%)
CMYKcmyk(4.9%, 49.3%, 0%, 44.3%)
CIE-LABlab(40.80, 37.94, -27.64)
CIE-LCHlch(40.80, 46.94, 323.93°)
OKLaboklab(50.53% 0.1027 -0.0761)
OKLCHoklch(50.53% 0.128 323.5)
XYZxyz(17.1910, 11.7394, 26.9463)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87488E #4F8E48
analogous
#64488E #87488E #8E4872
triadic
#87488E #8E8748 #488E87
tetradic
#87488E #8E6448 #4F8E48 #48728E
square
#87488E #8E6448 #4F8E48 #48728E
split-complementary
#87488E #728E48 #488E64
monochromatic
#3A1F3D #603365 #87488E #A863B0 #BF8CC5

Accessibility & contrast

On white

6.27
#87488E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#87488E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87488E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87488E#FFFFFF#000000##FFFFFF
##87488E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#895164
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #87488e;
/* rgb */ color: rgb(135, 72, 142);
/* oklch */ color: oklch(50.5% 0.128 323.5);
Tailwind
colors: {
  custom: {
    50: '#ac7daf',
    500: '#87488e',
    950: '#000000',
  },
}
SCSS
$custom: #87488e;
$custom-light: #ac7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#87488e",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 294,
    "s": 32.71,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.12786,
    "h": 323.5
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#87488E
secondary
#86B082
accent
#C95F6A
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #87488E

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

Preview Lab → · Contrast checker → · Palette generator →

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