#98208B#98208B

#98208B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 333.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#98208B
RGBrgb(152, 32, 139)
HSLhsl(307, 65%, 36%)
HSVhsv(307, 79%, 60%)
CMYKcmyk(0%, 78.9%, 8.6%, 40.4%)
CIE-LABlab(37.07, 59.06, -31.48)
CIE-LCHlch(37.07, 66.93, 331.94°)
OKLaboklab(48.29% 0.1707 -0.0865)
OKLCHoklch(48.29% 0.191 333.1)
XYZxyz(18.1257, 9.5741, 25.3144)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98208B #20982D
analogous
#692098 #98208B #98204F
triadic
#98208B #8B9820 #208B98
tetradic
#98208B #986920 #20982D #204F98
square
#98208B #986920 #20982D #204F98
split-complementary
#98208B #4F9820 #209869
monochromatic
#330B2F #65155D #98208B #CB2BB9 #DC57CD

Accessibility & contrast

On white

7.21
#98208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#98208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98208B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98208B#FFFFFF#000000##FFFFFF
##98208B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#9F2E55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98208b;
/* rgb */ color: rgb(152, 32, 139);
/* oklch */ color: oklch(48.3% 0.191 333.1);
Tailwind
colors: {
  custom: {
    50: '#ba6aad',
    500: '#98208b',
    950: '#000000',
  },
}
SCSS
$custom: #98208b;
$custom-light: #ba6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#98208b",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 306.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4829,
    "c": 0.19133,
    "h": 333.1
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#98208B
secondary
#54BF60
accent
#E85240
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #98208B

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

Preview Lab → · Contrast checker → · Palette generator →

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