#98208A#98208A

#98208A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.191 H 333.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#98208A
RGBrgb(152, 32, 138)
HSLhsl(307, 65%, 36%)
HSVhsv(307, 79%, 60%)
CMYKcmyk(0%, 78.9%, 9.2%, 40.4%)
CIE-LABlab(37.01, 58.91, -30.95)
CIE-LCHlch(37.01, 66.55, 332.28°)
OKLaboklab(48.23% 0.1706 -0.085)
OKLCHoklch(48.23% 0.191 333.5)
XYZxyz(18.0530, 9.5450, 24.9314)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98208A #20982E
analogous
#6A2098 #98208A #98204E
triadic
#98208A #8A9820 #208A98
tetradic
#98208A #986A20 #20982E #204E98
square
#98208A #986A20 #20982E #204E98
split-complementary
#98208A #4E9820 #20986A
monochromatic
#330B2E #65155C #98208A #CB2BB8 #DC57CC

Accessibility & contrast

On white

7.22
#98208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98208A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98208A#FFFFFF#000000##FFFFFF
##98208A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#9F2D54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98208a;
/* rgb */ color: rgb(152, 32, 138);
/* oklch */ color: oklch(48.2% 0.191 333.5);
Tailwind
colors: {
  custom: {
    50: '#ba6aac',
    500: '#98208a',
    950: '#000000',
  },
}
SCSS
$custom: #98208a;
$custom-light: #ba6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#98208a",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 307,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48234,
    "c": 0.1906,
    "h": 333.5
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#98208A
secondary
#54BF61
accent
#E85340
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #98208A

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

Preview Lab → · Contrast checker → · Palette generator →

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