#982D97#982D97

#982D97 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.186 H 328.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#982D97
RGBrgb(152, 45, 151)
HSLhsl(301, 54%, 39%)
HSVhsv(301, 70%, 60%)
CMYKcmyk(0%, 70.4%, 0.7%, 40.4%)
CIE-LABlab(39.22, 56.74, -35.41)
CIE-LCHlch(39.22, 66.88, 328.03°)
OKLaboklab(50.05% 0.1587 -0.0979)
OKLCHoklch(50.05% 0.186 328.3)
XYZxyz(19.4730, 10.7879, 30.3288)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D97 #2D982E
analogous
#632D98 #982D97 #982D61
triadic
#982D97 #97982D #2D9798
tetradic
#982D97 #98632D #2D982E #2D6198
square
#982D97 #98632D #2D982E #2D6198
split-complementary
#982D97 #61982D #2D9863
monochromatic
#3A1139 #691F68 #982D97 #C53DC4 #D36CD2

Accessibility & contrast

On white

6.65
#982D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982D97
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D97#FFFFFF#000000##FFFFFF
##982D971.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D539A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#9D3C5F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982d97;
/* rgb */ color: rgb(152, 45, 151);
/* oklch */ color: oklch(50.0% 0.186 328.3);
Tailwind
colors: {
  custom: {
    50: '#ba70b6',
    500: '#982d97',
    950: '#000000',
  },
}
SCSS
$custom: #982d97;
$custom-light: #ba70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#982d97",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 300.561,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50048,
    "c": 0.18648,
    "h": 328.3
  },
  "luminance": 0.10787
}

Semantic roles & 50–950 ramp

primary
#982D97
secondary
#66BA67
accent
#DE4C4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982D97

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

Preview Lab → · Contrast checker → · Palette generator →

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