#98208C#98208C

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

Color values

HEX#98208C
RGBrgb(152, 32, 140)
HSLhsl(306, 65%, 36%)
HSVhsv(306, 79%, 60%)
CMYKcmyk(0%, 78.9%, 7.9%, 40.4%)
CIE-LABlab(37.12, 59.22, -32.01)
CIE-LCHlch(37.12, 67.32, 331.60°)
OKLaboklab(48.35% 0.1707 -0.088)
OKLCHoklch(48.35% 0.192 332.7)
XYZxyz(18.1991, 9.6034, 25.7010)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98208C #20982C
analogous
#682098 #98208C #982050
triadic
#98208C #8C9820 #208C98
tetradic
#98208C #986820 #20982C #205098
square
#98208C #986820 #20982C #205098
split-complementary
#98208C #509820 #209868
monochromatic
#330B2F #65155D #98208C #CB2BBB #DC57CE

Accessibility & contrast

On white

7.19
#98208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#98208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98208C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98208C#FFFFFF#000000##FFFFFF
##98208C1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D8F
Deuteranopia (green-blind)
#4A5D89
Tritanopia (blue-blind)
#9F2E55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98208c;
/* rgb */ color: rgb(152, 32, 140);
/* oklch */ color: oklch(48.3% 0.192 332.7);
Tailwind
colors: {
  custom: {
    50: '#ba6aae',
    500: '#98208c',
    950: '#000000',
  },
}
SCSS
$custom: #98208c;
$custom-light: #ba6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#98208c",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 306,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.19205,
    "h": 332.7
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#98208C
secondary
#54BF5F
accent
#E85040
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #98208C

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

Preview Lab → · Contrast checker → · Palette generator →

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