#982D98#982D98

#982D98 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.187 H 327.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#982D98
RGBrgb(152, 45, 152)
HSLhsl(300, 54%, 39%)
HSVhsv(300, 70%, 60%)
CMYKcmyk(0%, 70.4%, 0%, 40.4%)
CIE-LABlab(39.28, 56.91, -35.92)
CIE-LCHlch(39.28, 67.30, 327.74°)
OKLaboklab(50.11% 0.1587 -0.0994)
OKLCHoklch(50.11% 0.187 327.9)
XYZxyz(19.5545, 10.8205, 30.7583)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D98 #2D982D
analogous
#622D98 #982D98 #982D62
triadic
#982D98 #98982D #2D9898
tetradic
#982D98 #98622D #2D982D #2D6298
square
#982D98 #98622D #2D982D #2D6298
split-complementary
#982D98 #62982D #2D9862
monochromatic
#3A113A #691F69 #982D98 #C53DC5 #D36CD3

Accessibility & contrast

On white

6.64
#982D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#982D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D98
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D98#FFFFFF#000000##FFFFFF
##982D981.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B549B
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#9D3D5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982d98;
/* rgb */ color: rgb(152, 45, 152);
/* oklch */ color: oklch(50.1% 0.187 327.9);
Tailwind
colors: {
  custom: {
    50: '#ba70b7',
    500: '#982d98',
    950: '#000000',
  },
}
SCSS
$custom: #982d98;
$custom-light: #ba70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#982d98",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.18729,
    "h": 327.9
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#982D98
secondary
#66BA66
accent
#DE4A4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982D98

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

Preview Lab → · Contrast checker → · Palette generator →

#982D98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva