#98209B#98209B

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

Color values

HEX#98209B
RGBrgb(152, 32, 155)
HSLhsl(299, 66%, 37%)
HSVhsv(299, 79%, 61%)
CMYKcmyk(1.9%, 79.4%, 0%, 39.2%)
CIE-LABlab(37.98, 61.63, -39.80)
CIE-LCHlch(37.98, 73.37, 327.14°)
OKLaboklab(49.24% 0.1705 -0.1106)
OKLCHoklch(49.24% 0.203 327)
XYZxyz(19.3815, 10.0764, 31.9281)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98209B #239B20
analogous
#5B209B #98209B #9B2061
triadic
#98209B #9B9820 #209B98
tetradic
#98209B #9B5B20 #239B20 #20619B
square
#98209B #9B5B20 #239B20 #20619B
split-complementary
#98209B #619B20 #209B5B
monochromatic
#350B36 #661668 #98209B #CA2ACE #D959DD

Accessibility & contrast

On white

6.97
#98209B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98209B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98209B#FFFFFF#000000##FFFFFF
##98209B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#415F98
Tritanopia (blue-blind)
#9C365E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #98209b;
/* rgb */ color: rgb(152, 32, 155);
/* oklch */ color: oklch(49.2% 0.203 327.0);
Tailwind
colors: {
  custom: {
    50: '#ba6bb9',
    500: '#98209b',
    950: '#000000',
  },
}
SCSS
$custom: #98209b;
$custom-light: #ba6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#98209b",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 298.537,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.20327,
    "h": 327
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#98209B
secondary
#59C156
accent
#E93F43
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98209B

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

Preview Lab → · Contrast checker → · Palette generator →

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