#982598#982598

#982598 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.196 H 328.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#982598
RGBrgb(152, 37, 152)
HSLhsl(300, 61%, 37%)
HSVhsv(300, 76%, 60%)
CMYKcmyk(0%, 75.7%, 0%, 40.4%)
CIE-LABlab(38.32, 59.64, -37.45)
CIE-LCHlch(38.32, 70.43, 327.88°)
OKLaboklab(49.42% 0.1664 -0.1038)
OKLCHoklch(49.42% 0.196 328.1)
XYZxyz(19.2777, 10.2669, 30.6660)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982598 #259825
analogous
#5F2598 #982598 #98255F
triadic
#982598 #989825 #259898
tetradic
#982598 #985F25 #259825 #255F98
square
#982598 #985F25 #259825 #255F98
split-complementary
#982598 #5F9825 #25985F
monochromatic
#360D36 #671967 #982598 #C931C9 #D85FD8

Accessibility & contrast

On white

6.88
#982598 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#982598 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982598
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982598#FFFFFF#000000##FFFFFF
##9825981.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A519B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#9D385D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982598;
/* rgb */ color: rgb(152, 37, 152);
/* oklch */ color: oklch(49.4% 0.196 328.1);
Tailwind
colors: {
  custom: {
    50: '#ba6db7',
    500: '#982598',
    950: '#000000',
  },
}
SCSS
$custom: #982598;
$custom-light: #ba6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#982598",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.19616,
    "h": 328.1
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#982598
secondary
#5CBD5C
accent
#E44444
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982598

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

Preview Lab → · Contrast checker → · Palette generator →

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