#98198A#98198A

#98198A is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.197 H 333.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#98198A
RGBrgb(152, 25, 138)
HSLhsl(307, 72%, 35%)
HSVhsv(307, 84%, 60%)
CMYKcmyk(0%, 83.6%, 9.2%, 40.4%)
CIE-LABlab(36.38, 60.74, -31.95)
CIE-LCHlch(36.38, 68.63, 332.25°)
OKLaboklab(47.78% 0.176 -0.0878)
OKLCHoklch(47.78% 0.197 333.5)
XYZxyz(17.8841, 9.2072, 24.8751)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98198A #199827
analogous
#661998 #98198A #98194B
triadic
#98198A #8A9819 #198A98
tetradic
#98198A #986619 #199827 #194B98
square
#98198A #986619 #199827 #194B98
split-complementary
#98198A #4B9819 #199866
monochromatic
#2F082B #63105A #98198A #CD22BA #E14AD1

Accessibility & contrast

On white

7.39
#98198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#98198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98198A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98198A#FFFFFF#000000##FFFFFF
##98198A1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#9F2953
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98198a;
/* rgb */ color: rgb(152, 25, 138);
/* oklch */ color: oklch(47.8% 0.197 333.5);
Tailwind
colors: {
  custom: {
    50: '#ba68ac',
    500: '#98198a',
    950: '#000000',
  },
}
SCSS
$custom: #98198a;
$custom-light: #ba68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#98198a",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 306.614,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.19668,
    "h": 333.5
  },
  "luminance": 0.09206
}

Semantic roles & 50–950 ramp

primary
#98198A
secondary
#4AC357
accent
#EE4D39
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #98198A

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

Preview Lab → · Contrast checker → · Palette generator →

#98198A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva