#982299#982299

#982299 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.3% C 0.200 H 327.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#982299
RGBrgb(152, 34, 153)
HSLhsl(299, 64%, 37%)
HSVhsv(299, 78%, 60%)
CMYKcmyk(0.7%, 77.8%, 0%, 40%)
CIE-LABlab(38.06, 60.72, -38.47)
CIE-LCHlch(38.06, 71.88, 327.65°)
OKLaboklab(49.25% 0.169 -0.1067)
OKLCHoklch(49.25% 0.2 327.7)
XYZxyz(19.2704, 10.1208, 31.0694)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982299 #239922
analogous
#5D2299 #982299 #99225F
triadic
#982299 #999822 #229998
tetradic
#982299 #995D22 #239922 #225F99
square
#982299 #995D22 #239922 #225F99
split-complementary
#982299 #5F9922 #22995D
monochromatic
#350C35 #661767 #982299 #CA2DCB #D95BDB

Accessibility & contrast

On white

6.94
#982299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#982299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982299
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982299#FFFFFF#000000##FFFFFF
##9822991.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982299;
/* rgb */ color: rgb(152, 34, 153);
/* oklch */ color: oklch(49.3% 0.200 327.7);
Tailwind
colors: {
  custom: {
    50: '#ba6cb7',
    500: '#982299',
    950: '#000000',
  },
}
SCSS
$custom: #982299;
$custom-light: #ba6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#982299",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 299.496,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49253,
    "c": 0.19989,
    "h": 327.7
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#982299
secondary
#59BF58
accent
#E74143
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #982299

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

Preview Lab → · Contrast checker → · Palette generator →

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