#87458D#87458D

#87458D is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.0% C 0.132 H 324.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#87458D
RGBrgb(135, 69, 141)
HSLhsl(295, 34%, 41%)
HSVhsv(295, 51%, 55%)
CMYKcmyk(4.3%, 51.1%, 0%, 44.7%)
CIE-LABlab(40.13, 39.36, -28.07)
CIE-LCHlch(40.13, 48.35, 324.50°)
OKLaboklab(50.02% 0.107 -0.0774)
OKLCHoklch(50.02% 0.132 324.1)
XYZxyz(16.9271, 11.3310, 26.4896)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87458D #4B8D45
analogous
#63458D #87458D #8D456F
triadic
#87458D #8D8745 #458D87
tetradic
#87458D #8D6345 #4B8D45 #456F8D
square
#87458D #8D6345 #4B8D45 #456F8D
split-complementary
#87458D #6F8D45 #458D63
monochromatic
#381D3B #603164 #87458D #AA5FB1 #C088C5

Accessibility & contrast

On white

6.43
#87458D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#87458D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87458D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87458D#FFFFFF#000000##FFFFFF
##87458D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#50618B
Tritanopia (blue-blind)
#894E62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #87458d;
/* rgb */ color: rgb(135, 69, 141);
/* oklch */ color: oklch(50.0% 0.132 324.1);
Tailwind
colors: {
  custom: {
    50: '#ac7bae',
    500: '#87458d',
    950: '#000000',
  },
}
SCSS
$custom: #87458d;
$custom-light: #ac7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#87458d",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 295,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50023,
    "c": 0.13207,
    "h": 324.1
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#87458D
secondary
#82B07E
accent
#CA5D67
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #87458D

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

Preview Lab → · Contrast checker → · Palette generator →

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