#982099#982099

#982099 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.202 H 327.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#982099
RGBrgb(152, 32, 153)
HSLhsl(300, 65%, 36%)
HSVhsv(300, 79%, 60%)
CMYKcmyk(0.7%, 79.1%, 0%, 40%)
CIE-LABlab(37.86, 61.30, -38.78)
CIE-LCHlch(37.86, 72.53, 327.68°)
OKLaboklab(49.11% 0.1706 -0.1076)
OKLCHoklch(49.11% 0.202 327.8)
XYZxyz(19.2149, 10.0098, 31.0509)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982099 #219920
analogous
#5C2099 #982099 #99205E
triadic
#982099 #999820 #209998
tetradic
#982099 #995C20 #219920 #205E99
square
#982099 #995C20 #219920 #205E99
split-complementary
#982099 #5E9920 #20995C
monochromatic
#330B34 #661566 #982099 #CA2BCC #DB57DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982099#FFFFFF#000000##FFFFFF
##9820991.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)
#004F9C
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#9D355D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982099;
/* rgb */ color: rgb(152, 32, 153);
/* oklch */ color: oklch(49.1% 0.202 327.8);
Tailwind
colors: {
  custom: {
    50: '#ba6bb7',
    500: '#982099',
    950: '#000000',
  },
}
SCSS
$custom: #982099;
$custom-light: #ba6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982099",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 299.504,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.20174,
    "h": 327.8
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

primary
#982099
secondary
#56C055
accent
#E83F41
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982099

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

Preview Lab → · Contrast checker → · Palette generator →

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