#98209D#98209D

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

Color values

HEX#98209D
RGBrgb(152, 32, 157)
HSLhsl(298, 66%, 37%)
HSVhsv(298, 80%, 62%)
CMYKcmyk(3.2%, 79.6%, 0%, 38.4%)
CIE-LABlab(38.10, 61.96, -40.82)
CIE-LCHlch(38.10, 74.20, 326.62°)
OKLaboklab(49.36% 0.1704 -0.1136)
OKLCHoklch(49.36% 0.205 326.3)
XYZxyz(19.5508, 10.1441, 32.8200)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98209D #259D20
analogous
#5A209D #98209D #9D2064
triadic
#98209D #9D9820 #209D98
tetradic
#98209D #9D5A20 #259D20 #20649D
square
#98209D #9D5A20 #259D20 #20649D
split-complementary
#98209D #649D20 #209D5A
monochromatic
#360B37 #67166A #98209D #C92AD0 #D85ADD

Accessibility & contrast

On white

6.93
#98209D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#98209D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98209D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98209D#FFFFFF#000000##FFFFFF
##98209D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98209d;
/* rgb */ color: rgb(152, 32, 157);
/* oklch */ color: oklch(49.4% 0.205 326.3);
Tailwind
colors: {
  custom: {
    50: '#ba6bba',
    500: '#98209d',
    950: '#000000',
  },
}
SCSS
$custom: #98209d;
$custom-light: #ba6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#98209d",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 297.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49359,
    "c": 0.20481,
    "h": 326.3
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#98209D
secondary
#5CC157
accent
#E93F46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98209D

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

Preview Lab → · Contrast checker → · Palette generator →

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