#98199C#98199C

#98199C is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.210 H 326.8°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#98199C
RGBrgb(152, 25, 156)
HSLhsl(298, 72%, 35%)
HSVhsv(298, 84%, 61%)
CMYKcmyk(2.6%, 84%, 0%, 38.8%)
CIE-LABlab(37.43, 63.56, -41.29)
CIE-LCHlch(37.43, 75.79, 327.00°)
OKLaboklab(48.87% 0.1754 -0.1149)
OKLCHoklch(48.87% 0.21 326.8)
XYZxyz(19.2969, 9.7724, 32.3159)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98199C #1D9C19
analogous
#56199C #98199C #9C195E
triadic
#98199C #9C9819 #199C98
tetradic
#98199C #9C5619 #1D9C19 #195E9C
square
#98199C #9C5619 #1D9C19 #195E9C
split-complementary
#98199C #5E9C19 #199C56
monochromatic
#310833 #651167 #98199C #CB21D1 #DE4DE2

Accessibility & contrast

On white

7.11
#98199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#98199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98199C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98199C#FFFFFF#000000##FFFFFF
##98199C1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#3E5D99
Tritanopia (blue-blind)
#9C335D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98199c;
/* rgb */ color: rgb(152, 25, 156);
/* oklch */ color: oklch(48.9% 0.210 326.8);
Tailwind
colors: {
  custom: {
    50: '#ba69ba',
    500: '#98199c',
    950: '#000000',
  },
}
SCSS
$custom: #98199c;
$custom-light: #ba69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98199c",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 298.168,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48866,
    "c": 0.20971,
    "h": 326.8
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#98199C
secondary
#50C44C
accent
#EF393E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #98199C

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

Preview Lab → · Contrast checker → · Palette generator →

#98199C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva