#98209E#98209E

#98209E is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.206 H 326.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#98209E
RGBrgb(152, 32, 158)
HSLhsl(297, 66%, 37%)
HSVhsv(297, 80%, 62%)
CMYKcmyk(3.8%, 79.7%, 0%, 38%)
CIE-LABlab(38.16, 62.13, -41.33)
CIE-LCHlch(38.16, 74.62, 326.37°)
OKLaboklab(49.42% 0.1704 -0.1151)
OKLCHoklch(49.42% 0.206 326)
XYZxyz(19.6366, 10.1784, 33.2715)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98209E #269E20
analogous
#59209E #98209E #9E2065
triadic
#98209E #9E9820 #209E98
tetradic
#98209E #9E5920 #269E20 #20659E
square
#98209E #9E5920 #269E20 #20659E
split-complementary
#98209E #659E20 #209E59
monochromatic
#360B38 #67166B #98209E #C92AD1 #D75BDE

Accessibility & contrast

On white

6.92
#98209E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#98209E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98209E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98209E#FFFFFF#000000##FFFFFF
##98209E1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98209e;
/* rgb */ color: rgb(152, 32, 158);
/* oklch */ color: oklch(49.4% 0.206 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba6bbb',
    500: '#98209e',
    950: '#000000',
  },
}
SCSS
$custom: #98209e;
$custom-light: #ba6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#98209e",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 297.143,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49422,
    "c": 0.20558,
    "h": 326
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#98209E
secondary
#5DC258
accent
#E93F47
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98209E

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

Preview Lab → · Contrast checker → · Palette generator →

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