#98219E#98219E

#98219E is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.205 H 325.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#98219E
RGBrgb(152, 33, 158)
HSLhsl(297, 65%, 37%)
HSVhsv(297, 79%, 62%)
CMYKcmyk(3.8%, 79.1%, 0%, 38%)
CIE-LABlab(38.26, 61.85, -41.17)
CIE-LCHlch(38.26, 74.30, 326.35°)
OKLaboklab(49.49% 0.1696 -0.1146)
OKLCHoklch(49.49% 0.205 325.9)
XYZxyz(19.6639, 10.2331, 33.2806)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98219E #279E21
analogous
#5A219E #98219E #9E2166
triadic
#98219E #9E9821 #219E98
tetradic
#98219E #9E5A21 #279E21 #21669E
square
#98219E #9E5A21 #279E21 #21669E
split-complementary
#98219E #669E21 #219E5A
monochromatic
#370C39 #67166B #98219E #C92CD1 #D75CDD

Accessibility & contrast

On white

6.89
#98219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#98219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98219E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98219E#FFFFFF#000000##FFFFFF
##98219E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#9C3860
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98219e;
/* rgb */ color: rgb(152, 33, 158);
/* oklch */ color: oklch(49.5% 0.205 325.9);
Tailwind
colors: {
  custom: {
    50: '#ba6cbb',
    500: '#98219e',
    950: '#000000',
  },
}
SCSS
$custom: #98219e;
$custom-light: #ba6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#98219e",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 297.12,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.20468,
    "h": 325.9
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#98219E
secondary
#5EC159
accent
#E83F48
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98219E

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

Preview Lab → · Contrast checker → · Palette generator →

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