#982799#982799

#982799 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.195 H 327.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#982799
RGBrgb(152, 39, 153)
HSLhsl(299, 59%, 38%)
HSVhsv(299, 75%, 60%)
CMYKcmyk(0.7%, 74.5%, 0%, 40%)
CIE-LABlab(38.60, 59.17, -37.61)
CIE-LCHlch(38.60, 70.11, 327.56°)
OKLaboklab(49.64% 0.1646 -0.1043)
OKLCHoklch(49.64% 0.195 327.6)
XYZxyz(19.4239, 10.4277, 31.1205)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982799 #289927
analogous
#5F2799 #982799 #992761
triadic
#982799 #999827 #279998
tetradic
#982799 #995F27 #289927 #276199
square
#982799 #995F27 #289927 #276199
split-complementary
#982799 #619927 #27995F
monochromatic
#370E37 #681B68 #982799 #C833CA #D663D7

Accessibility & contrast

On white

6.81
#982799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#982799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982799
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982799#FFFFFF#000000##FFFFFF
##9827991.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D529C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#9D395E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982799;
/* rgb */ color: rgb(152, 39, 153);
/* oklch */ color: oklch(49.6% 0.195 327.6);
Tailwind
colors: {
  custom: {
    50: '#ba6eb7',
    500: '#982799',
    950: '#000000',
  },
}
SCSS
$custom: #982799;
$custom-light: #ba6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982799",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 299.474,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.19487,
    "h": 327.6
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#982799
secondary
#60BD5F
accent
#E34547
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982799

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

Preview Lab → · Contrast checker → · Palette generator →

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