#98219B#98219B

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

Color values

HEX#98219B
RGBrgb(152, 33, 155)
HSLhsl(299, 65%, 37%)
HSVhsv(299, 79%, 61%)
CMYKcmyk(1.9%, 78.7%, 0%, 39.2%)
CIE-LABlab(38.08, 61.35, -39.65)
CIE-LCHlch(38.08, 73.04, 327.12°)
OKLaboklab(49.3% 0.1697 -0.1102)
OKLCHoklch(49.3% 0.202 327)
XYZxyz(19.4088, 10.1311, 31.9372)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98219B #249B21
analogous
#5B219B #98219B #9B2161
triadic
#98219B #9B9821 #219B98
tetradic
#98219B #9B5B21 #249B21 #21619B
square
#98219B #9B5B21 #249B21 #21619B
split-complementary
#98219B #619B21 #219B5B
monochromatic
#350C36 #671669 #98219B #C92CCD #D95ADC

Accessibility & contrast

On white

6.94
#98219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#98219B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98219B
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98219B#FFFFFF#000000##FFFFFF
##98219B1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#425F98
Tritanopia (blue-blind)
#9C375E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98219b;
/* rgb */ color: rgb(152, 33, 155);
/* oklch */ color: oklch(49.3% 0.202 327.0);
Tailwind
colors: {
  custom: {
    50: '#ba6bb9',
    500: '#98219b',
    950: '#000000',
  },
}
SCSS
$custom: #98219b;
$custom-light: #ba6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#98219b",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 298.525,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49304,
    "c": 0.20236,
    "h": 327
  },
  "luminance": 0.1013
}

Semantic roles & 50–950 ramp

primary
#98219B
secondary
#5AC058
accent
#E84044
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98219B

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

Preview Lab → · Contrast checker → · Palette generator →

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