#982199#982199

#982199 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.201 H 327.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#982199
RGBrgb(152, 33, 153)
HSLhsl(300, 65%, 36%)
HSVhsv(300, 78%, 60%)
CMYKcmyk(0.7%, 78.4%, 0%, 40%)
CIE-LABlab(37.96, 61.01, -38.63)
CIE-LCHlch(37.96, 72.21, 327.66°)
OKLaboklab(49.18% 0.1698 -0.1072)
OKLCHoklch(49.18% 0.201 327.7)
XYZxyz(19.2423, 10.0644, 31.0600)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982199 #229921
analogous
#5C2199 #982199 #99215E
triadic
#982199 #999821 #219998
tetradic
#982199 #995C21 #229921 #215E99
square
#982199 #995C21 #229921 #215E99
split-complementary
#982199 #5E9921 #21995C
monochromatic
#340B34 #661667 #982199 #CA2CCB #DA59DB

Accessibility & contrast

On white

6.97
#982199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#982199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982199
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982199#FFFFFF#000000##FFFFFF
##9821991.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#9D365D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982199;
/* rgb */ color: rgb(152, 33, 153);
/* oklch */ color: oklch(49.2% 0.201 327.7);
Tailwind
colors: {
  custom: {
    50: '#ba6bb7',
    500: '#982199',
    950: '#000000',
  },
}
SCSS
$custom: #982199;
$custom-light: #ba6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982199",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 299.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.20082,
    "h": 327.7
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#982199
secondary
#57BF56
accent
#E84042
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982199

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

Preview Lab → · Contrast checker → · Palette generator →

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