#87489F#87489F

#87489F is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.5% C 0.146 H 315.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#87489F
RGBrgb(135, 72, 159)
HSLhsl(283, 38%, 45%)
HSVhsv(283, 55%, 62%)
CMYKcmyk(15.1%, 54.7%, 0%, 37.6%)
CIE-LABlab(41.67, 41.52, -36.50)
CIE-LCHlch(41.67, 55.29, 318.68°)
OKLaboklab(51.46% 0.1049 -0.1018)
OKLCHoklch(51.46% 0.146 315.9)
XYZxyz(18.5661, 12.2894, 34.1883)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87489F #609F48
analogous
#5B489F #87489F #9F488B
triadic
#87489F #9F8748 #489F87
tetradic
#87489F #9F5B48 #609F48 #488B9F
square
#87489F #9F5B48 #609F48 #488B9F
split-complementary
#87489F #8B9F48 #489F5B
monochromatic
#3F224B #633575 #87489F #A469BB #BE93CE

Accessibility & contrast

On white

6.07
#87489F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#87489F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87489F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87489F#FFFFFF#000000##FFFFFF
##87489F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA2
Deuteranopia (green-blind)
#49649D
Tritanopia (blue-blind)
#86566C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #87489f;
/* rgb */ color: rgb(135, 72, 159);
/* oklch */ color: oklch(51.5% 0.146 315.9);
Tailwind
colors: {
  custom: {
    50: '#ac7ebc',
    500: '#87489f',
    950: '#000000',
  },
}
SCSS
$custom: #87489f;
$custom-light: #ac7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#87489f",
  "rgb": {
    "r": 135,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 283.448,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51462,
    "c": 0.14614,
    "h": 315.9
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#87489F
secondary
#96BA89
accent
#CE5A7A
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #87489F

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

Preview Lab → · Contrast checker → · Palette generator →

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