#982587#982587

#982587 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.183 H 334.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#982587
RGBrgb(152, 37, 135)
HSLhsl(309, 61%, 37%)
HSVhsv(309, 76%, 60%)
CMYKcmyk(0%, 75.7%, 11.2%, 40.4%)
CIE-LABlab(37.39, 56.92, -28.51)
CIE-LCHlch(37.39, 63.66, 333.39°)
OKLaboklab(48.45% 0.1659 -0.078)
OKLCHoklch(48.45% 0.183 334.8)
XYZxyz(17.9838, 9.7494, 23.8516)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982587 #259836
analogous
#702598 #982587 #98254D
triadic
#982587 #879825 #258798
tetradic
#982587 #987025 #259836 #254D98
square
#982587 #987025 #259836 #254D98
split-complementary
#982587 #4D9825 #259870
monochromatic
#360D30 #67195B #982587 #C931B3 #D85FC6

Accessibility & contrast

On white

7.12
#982587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#982587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982587
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982587#FFFFFF#000000##FFFFFF
##9825871.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#4E5E84
Tritanopia (blue-blind)
#A02F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982587;
/* rgb */ color: rgb(152, 37, 135);
/* oklch */ color: oklch(48.5% 0.183 334.8);
Tailwind
colors: {
  custom: {
    50: '#ba6caa',
    500: '#982587',
    950: '#000000',
  },
}
SCSS
$custom: #982587;
$custom-light: #ba6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#982587",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 308.87,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.18335,
    "h": 334.8
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#982587
secondary
#5CBD6A
accent
#E45C44
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982587

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

Preview Lab → · Contrast checker → · Palette generator →

#982587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva