#98219A#98219A

#98219A is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.202 H 327.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#98219A
RGBrgb(152, 33, 154)
HSLhsl(299, 65%, 37%)
HSVhsv(299, 79%, 60%)
CMYKcmyk(1.3%, 78.6%, 0%, 39.6%)
CIE-LABlab(38.02, 61.18, -39.14)
CIE-LCHlch(38.02, 72.63, 327.39°)
OKLaboklab(49.24% 0.1698 -0.1087)
OKLCHoklch(49.24% 0.202 327.4)
XYZxyz(19.3252, 10.0976, 31.4968)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98219A #239A21
analogous
#5C219A #98219A #9A2160
triadic
#98219A #9A9821 #219A98
tetradic
#98219A #9A5C21 #239A21 #21609A
square
#98219A #9A5C21 #239A21 #21609A
split-complementary
#98219A #609A21 #219A5C
monochromatic
#350B35 #661668 #98219A #CA2CCC #D95ADC

Accessibility & contrast

On white

6.96
#98219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#98219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98219A
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98219A#FFFFFF#000000##FFFFFF
##98219A1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#9D365D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98219a;
/* rgb */ color: rgb(152, 33, 154);
/* oklch */ color: oklch(49.2% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#ba6bb8',
    500: '#98219a',
    950: '#000000',
  },
}
SCSS
$custom: #98219a;
$custom-light: #ba6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#98219a",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 299.008,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49242,
    "c": 0.2016,
    "h": 327.4
  },
  "luminance": 0.10096
}

Semantic roles & 50–950 ramp

primary
#98219A
secondary
#59C057
accent
#E84043
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98219A

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

Preview Lab → · Contrast checker → · Palette generator →

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