#98219D#98219D

#98219D is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.204 H 326.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#98219D
RGBrgb(152, 33, 157)
HSLhsl(298, 65%, 37%)
HSVhsv(298, 79%, 62%)
CMYKcmyk(3.2%, 79%, 0%, 38.4%)
CIE-LABlab(38.20, 61.68, -40.67)
CIE-LCHlch(38.20, 73.88, 326.60°)
OKLaboklab(49.43% 0.1696 -0.1131)
OKLCHoklch(49.43% 0.204 326.3)
XYZxyz(19.5782, 10.1988, 32.8291)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98219D #269D21
analogous
#5A219D #98219D #9D2164
triadic
#98219D #9D9821 #219D98
tetradic
#98219D #9D5A21 #269D21 #21649D
square
#98219D #9D5A21 #269D21 #21649D
split-complementary
#98219D #649D21 #219D5A
monochromatic
#360C38 #67166A #98219D #C92CD0 #D75CDD

Accessibility & contrast

On white

6.91
#98219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#98219D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98219D
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98219D#FFFFFF#000000##FFFFFF
##98219D1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#405F9A
Tritanopia (blue-blind)
#9C385F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98219d;
/* rgb */ color: rgb(152, 33, 157);
/* oklch */ color: oklch(49.4% 0.204 326.3);
Tailwind
colors: {
  custom: {
    50: '#ba6cba',
    500: '#98219d',
    950: '#000000',
  },
}
SCSS
$custom: #98219d;
$custom-light: #ba6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#98219d",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 297.581,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.20391,
    "h": 326.3
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#98219D
secondary
#5DC159
accent
#E84046
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98219D

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

Preview Lab → · Contrast checker → · Palette generator →

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