#982588#982588

#982588 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.184 H 334.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#982588
RGBrgb(152, 37, 136)
HSLhsl(308, 61%, 37%)
HSVhsv(308, 76%, 60%)
CMYKcmyk(0%, 75.7%, 10.5%, 40.4%)
CIE-LABlab(37.44, 57.08, -29.05)
CIE-LCHlch(37.44, 64.04, 333.03°)
OKLaboklab(48.51% 0.166 -0.0795)
OKLCHoklch(48.51% 0.184 334.4)
XYZxyz(18.0546, 9.7777, 24.2242)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982588 #259835
analogous
#6F2598 #982588 #98254E
triadic
#982588 #889825 #258898
tetradic
#982588 #986F25 #259835 #254E98
square
#982588 #986F25 #259835 #254E98
split-complementary
#982588 #4E9825 #25986F
monochromatic
#360D30 #67195C #982588 #C931B4 #D85FC7

Accessibility & contrast

On white

7.11
#982588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#982588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982588
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982588#FFFFFF#000000##FFFFFF
##9825881.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#9F2F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #982588;
/* rgb */ color: rgb(152, 37, 136);
/* oklch */ color: oklch(48.5% 0.184 334.4);
Tailwind
colors: {
  custom: {
    50: '#ba6cab',
    500: '#982588',
    950: '#000000',
  },
}
SCSS
$custom: #982588;
$custom-light: #ba6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#982588",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 308.348,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48507,
    "c": 0.18407,
    "h": 334.4
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#982588
secondary
#5CBD69
accent
#E45A44
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982588

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

Preview Lab → · Contrast checker → · Palette generator →

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