#98209F#98209F

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

Color values

HEX#98209F
RGBrgb(152, 32, 159)
HSLhsl(297, 66%, 37%)
HSVhsv(297, 80%, 62%)
CMYKcmyk(4.4%, 79.9%, 0%, 37.6%)
CIE-LABlab(38.22, 62.30, -41.84)
CIE-LCHlch(38.22, 75.04, 326.12°)
OKLaboklab(49.49% 0.1703 -0.1165)
OKLCHoklch(49.49% 0.206 325.6)
XYZxyz(19.7230, 10.2130, 33.7267)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98209F #279F20
analogous
#59209F #98209F #9F2066
triadic
#98209F #9F9820 #209F98
tetradic
#98209F #9F5920 #279F20 #20669F
square
#98209F #9F5920 #279F20 #20669F
split-complementary
#98209F #669F20 #209F59
monochromatic
#370B39 #67166C #98209F #C92AD2 #D75BDE

Accessibility & contrast

On white

6.90
#98209F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98209F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98209F#FFFFFF#000000##FFFFFF
##98209F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98209f;
/* rgb */ color: rgb(152, 32, 159);
/* oklch */ color: oklch(49.5% 0.206 325.6);
Tailwind
colors: {
  custom: {
    50: '#ba6bbc',
    500: '#98209f',
    950: '#000000',
  },
}
SCSS
$custom: #98209f;
$custom-light: #ba6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#98209f",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 296.693,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49485,
    "c": 0.20636,
    "h": 325.6
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#98209F
secondary
#5EC259
accent
#E93E48
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #98209F

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

Preview Lab → · Contrast checker → · Palette generator →

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