#98209A#98209A

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

Color values

HEX#98209A
RGBrgb(152, 32, 154)
HSLhsl(299, 66%, 36%)
HSVhsv(299, 79%, 60%)
CMYKcmyk(1.3%, 79.2%, 0%, 39.6%)
CIE-LABlab(37.92, 61.46, -39.29)
CIE-LCHlch(37.92, 72.95, 327.41°)
OKLaboklab(49.17% 0.1706 -0.1091)
OKLCHoklch(49.17% 0.203 327.4)
XYZxyz(19.2979, 10.0429, 31.4877)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98209A #229A20
analogous
#5B209A #98209A #9A205F
triadic
#98209A #9A9820 #209A98
tetradic
#98209A #9A5B20 #229A20 #205F9A
square
#98209A #9A5B20 #229A20 #205F9A
split-complementary
#98209A #5F9A20 #209A5B
monochromatic
#340B35 #661567 #98209A #CA2BCD #DA58DC

Accessibility & contrast

On white

6.98
#98209A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#98209A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98209A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98209A#FFFFFF#000000##FFFFFF
##98209A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98209a;
/* rgb */ color: rgb(152, 32, 154);
/* oklch */ color: oklch(49.2% 0.203 327.4);
Tailwind
colors: {
  custom: {
    50: '#ba6bb8',
    500: '#98209a',
    950: '#000000',
  },
}
SCSS
$custom: #98209a;
$custom-light: #ba6bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#98209a",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 299.016,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.20251,
    "h": 327.4
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#98209A
secondary
#57C056
accent
#E93F42
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98209A

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

Preview Lab → · Contrast checker → · Palette generator →

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