#982097#982097

#982097 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.200 H 328.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#982097
RGBrgb(152, 32, 151)
HSLhsl(301, 65%, 36%)
HSVhsv(301, 79%, 60%)
CMYKcmyk(0%, 78.9%, 0.7%, 40.4%)
CIE-LABlab(37.74, 60.97, -37.75)
CIE-LCHlch(37.74, 71.71, 328.23°)
OKLaboklab(48.99% 0.1707 -0.1047)
OKLCHoklch(48.99% 0.2 328.5)
XYZxyz(19.0511, 9.9442, 30.1882)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982097 #209821
analogous
#5D2098 #982097 #98205B
triadic
#982097 #979820 #209798
tetradic
#982097 #985D20 #209821 #205B98
square
#982097 #985D20 #209821 #205B98
split-complementary
#982097 #5B9820 #20985D
monochromatic
#330B33 #651565 #982097 #CB2BC9 #DC57DA

Accessibility & contrast

On white

7.03
#982097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#982097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982097
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982097#FFFFFF#000000##FFFFFF
##9820971.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#9D345B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982097;
/* rgb */ color: rgb(152, 32, 151);
/* oklch */ color: oklch(49.0% 0.200 328.5);
Tailwind
colors: {
  custom: {
    50: '#ba6bb6',
    500: '#982097',
    950: '#000000',
  },
}
SCSS
$custom: #982097;
$custom-light: #ba6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#982097",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 300.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4899,
    "c": 0.20022,
    "h": 328.5
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#982097
secondary
#54BF55
accent
#E84140
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982097

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

Preview Lab → · Contrast checker → · Palette generator →

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