#98199E#98199E

#98199E is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.211 H 326.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#98199E
RGBrgb(152, 25, 158)
HSLhsl(297, 73%, 36%)
HSVhsv(297, 84%, 62%)
CMYKcmyk(3.8%, 84.2%, 0%, 38%)
CIE-LABlab(37.55, 63.89, -42.30)
CIE-LCHlch(37.55, 76.62, 326.49°)
OKLaboklab(48.99% 0.1753 -0.1179)
OKLCHoklch(48.99% 0.211 326.1)
XYZxyz(19.4677, 9.8407, 33.2152)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98199E #1F9E19
analogous
#55199E #98199E #9E1961
triadic
#98199E #9E9819 #199E98
tetradic
#98199E #9E5519 #1F9E19 #19619E
square
#98199E #9E5519 #1F9E19 #19619E
split-complementary
#98199E #619E19 #199E55
monochromatic
#320834 #651169 #98199E #CB21D3 #DC4EE3

Accessibility & contrast

On white

7.08
#98199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#98199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98199E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98199E#FFFFFF#000000##FFFFFF
##98199E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#3C5D9B
Tritanopia (blue-blind)
#9C345E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98199e;
/* rgb */ color: rgb(152, 25, 158);
/* oklch */ color: oklch(49.0% 0.211 326.1);
Tailwind
colors: {
  custom: {
    50: '#ba69bb',
    500: '#98199e',
    950: '#000000',
  },
}
SCSS
$custom: #98199e;
$custom-light: #ba69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#98199e",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 297.293,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48993,
    "c": 0.2112,
    "h": 326.1
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#98199E
secondary
#53C54E
accent
#EF3841
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #98199E

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

Preview Lab → · Contrast checker → · Palette generator →

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