#982399#982399

#982399 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.199 H 327.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#982399
RGBrgb(152, 35, 153)
HSLhsl(299, 63%, 37%)
HSVhsv(299, 77%, 60%)
CMYKcmyk(0.7%, 77.1%, 0%, 40%)
CIE-LABlab(38.16, 60.43, -38.30)
CIE-LCHlch(38.16, 71.54, 327.63°)
OKLaboklab(49.33% 0.1682 -0.1063)
OKLCHoklch(49.33% 0.199 327.7)
XYZxyz(19.2994, 10.1788, 31.0790)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982399 #249923
analogous
#5D2399 #982399 #99235F
triadic
#982399 #999823 #239998
tetradic
#982399 #995D23 #249923 #235F99
square
#982399 #995D23 #249923 #235F99
split-complementary
#982399 #5F9923 #23995D
monochromatic
#350C35 #671867 #982399 #C92ECB #D95DDA

Accessibility & contrast

On white

6.92
#982399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#982399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982399
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982399#FFFFFF#000000##FFFFFF
##9823991.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#9D375D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982399;
/* rgb */ color: rgb(152, 35, 153);
/* oklch */ color: oklch(49.3% 0.199 327.7);
Tailwind
colors: {
  custom: {
    50: '#ba6cb7',
    500: '#982399',
    950: '#000000',
  },
}
SCSS
$custom: #982399;
$custom-light: #ba6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982399",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 299.492,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.19894,
    "h": 327.7
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#982399
secondary
#5ABE59
accent
#E64243
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982399

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

Preview Lab → · Contrast checker → · Palette generator →

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