#982197#982197

#982197 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.199 H 328.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#982197
RGBrgb(152, 33, 151)
HSLhsl(301, 64%, 36%)
HSVhsv(301, 78%, 60%)
CMYKcmyk(0%, 78.3%, 0.7%, 40.4%)
CIE-LABlab(37.84, 60.68, -37.60)
CIE-LCHlch(37.84, 71.39, 328.22°)
OKLaboklab(49.06% 0.1699 -0.1042)
OKLCHoklch(49.06% 0.199 328.5)
XYZxyz(19.0785, 9.9989, 30.1973)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982197 #219822
analogous
#5E2198 #982197 #98215C
triadic
#982197 #979821 #219798
tetradic
#982197 #985E21 #219822 #215C98
square
#982197 #985E21 #219822 #215C98
split-complementary
#982197 #5C9821 #21985E
monochromatic
#330B33 #661665 #982197 #CA2CC9 #DB59DA

Accessibility & contrast

On white

7.00
#982197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#982197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982197
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982197#FFFFFF#000000##FFFFFF
##9821971.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982197;
/* rgb */ color: rgb(152, 33, 151);
/* oklch */ color: oklch(49.1% 0.199 328.5);
Tailwind
colors: {
  custom: {
    50: '#ba6bb6',
    500: '#982197',
    950: '#000000',
  },
}
SCSS
$custom: #982197;
$custom-light: #ba6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#982197",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 300.504,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4906,
    "c": 0.1993,
    "h": 328.5
  },
  "luminance": 0.09997
}

Semantic roles & 50–950 ramp

primary
#982197
secondary
#56BF57
accent
#E74240
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982197

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

Preview Lab → · Contrast checker → · Palette generator →

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