#87458B#87458B

#87458B is a mid, vivid purple. Relative luminance 0.113; OKLCH L 49.9% C 0.130 H 325.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#87458B
RGBrgb(135, 69, 139)
HSLhsl(297, 34%, 41%)
HSVhsv(297, 50%, 55%)
CMYKcmyk(2.9%, 50.4%, 0%, 45.5%)
CIE-LABlab(40.03, 38.96, -27.01)
CIE-LCHlch(40.03, 47.41, 325.27°)
OKLaboklab(49.92% 0.1067 -0.0743)
OKLCHoklch(49.92% 0.13 325.2)
XYZxyz(16.7796, 11.2721, 25.7130)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87458B #498B45
analogous
#64458B #87458B #8B456C
triadic
#87458B #8B8745 #458B87
tetradic
#87458B #8B6445 #498B45 #456C8B
square
#87458B #8B6445 #498B45 #456C8B
split-complementary
#87458B #6C8B45 #458B64
monochromatic
#381C39 #5F3162 #87458B #AA5EAF #C087C3

Accessibility & contrast

On white

6.45
#87458B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#87458B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87458B
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87458B#FFFFFF#000000##FFFFFF
##87458B1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598D
Deuteranopia (green-blind)
#516189
Tritanopia (blue-blind)
#8A4D61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #87458b;
/* rgb */ color: rgb(135, 69, 139);
/* oklch */ color: oklch(49.9% 0.130 325.2);
Tailwind
colors: {
  custom: {
    50: '#ac7bad',
    500: '#87458b',
    950: '#000000',
  },
}
SCSS
$custom: #87458b;
$custom-light: #ac7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#87458b",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 296.571,
    "s": 33.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.13004,
    "h": 325.2
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#87458B
secondary
#80AF7D
accent
#CA5E64
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #87458B

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

Preview Lab → · Contrast checker → · Palette generator →

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