#98189D#98189D

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

Color values

HEX#98189D
RGBrgb(152, 24, 157)
HSLhsl(298, 73%, 35%)
HSVhsv(298, 85%, 62%)
CMYKcmyk(3.2%, 84.7%, 0%, 38.4%)
CIE-LABlab(37.42, 63.95, -41.91)
CIE-LCHlch(37.42, 76.46, 326.76°)
OKLaboklab(48.88% 0.176 -0.1167)
OKLCHoklch(48.88% 0.211 326.4)
XYZxyz(19.3610, 9.7644, 32.7567)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98189D #1D9D18
analogous
#55189D #98189D #9D1860
triadic
#98189D #9D9818 #189D98
tetradic
#98189D #9D5518 #1D9D18 #18609D
square
#98189D #9D5518 #1D9D18 #18609D
split-complementary
#98189D #609D18 #189D55
monochromatic
#310833 #651068 #98189D #CB20D2 #DE4CE4

Accessibility & contrast

On white

7.11
#98189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#98189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98189D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98189D#FFFFFF#000000##FFFFFF
##98189D1.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)
#004EA0
Deuteranopia (green-blind)
#3D5D9A
Tritanopia (blue-blind)
#9C335D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98189d;
/* rgb */ color: rgb(152, 24, 157);
/* oklch */ color: oklch(48.9% 0.211 326.4);
Tailwind
colors: {
  custom: {
    50: '#ba69ba',
    500: '#98189d',
    950: '#000000',
  },
}
SCSS
$custom: #98189d;
$custom-light: #ba69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98189d",
  "rgb": {
    "r": 152,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 297.744,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.21117,
    "h": 326.4
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#98189D
secondary
#50C54B
accent
#F0383F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #98189D

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

Preview Lab → · Contrast checker → · Palette generator →

#98189D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva