#98209C#98209C

#98209C is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.204 H 326.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#98209C
RGBrgb(152, 32, 156)
HSLhsl(298, 66%, 37%)
HSVhsv(298, 79%, 61%)
CMYKcmyk(2.6%, 79.5%, 0%, 38.8%)
CIE-LABlab(38.04, 61.80, -40.31)
CIE-LCHlch(38.04, 73.78, 326.88°)
OKLaboklab(49.3% 0.1705 -0.1121)
OKLCHoklch(49.3% 0.204 326.7)
XYZxyz(19.4658, 10.1101, 32.3722)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98209C #249C20
analogous
#5A209C #98209C #9C2062
triadic
#98209C #9C9820 #209C98
tetradic
#98209C #9C5A20 #249C20 #20629C
square
#98209C #9C5A20 #249C20 #20629C
split-complementary
#98209C #629C20 #209C5A
monochromatic
#350B36 #671669 #98209C #C92ACF #D959DD

Accessibility & contrast

On white

6.95
#98209C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#98209C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98209C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98209C#FFFFFF#000000##FFFFFF
##98209C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#405F99
Tritanopia (blue-blind)
#9C375E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #98209c;
/* rgb */ color: rgb(152, 32, 156);
/* oklch */ color: oklch(49.3% 0.204 326.7);
Tailwind
colors: {
  custom: {
    50: '#ba6bba',
    500: '#98209c',
    950: '#000000',
  },
}
SCSS
$custom: #98209c;
$custom-light: #ba6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#98209c",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 298.065,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49297,
    "c": 0.20404,
    "h": 326.7
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#98209C
secondary
#5AC157
accent
#E93F44
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #98209C

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

Preview Lab → · Contrast checker → · Palette generator →

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