#98208D#98208D

#98208D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.193 H 332.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#98208D
RGBrgb(152, 32, 141)
HSLhsl(306, 65%, 36%)
HSVhsv(306, 79%, 60%)
CMYKcmyk(0%, 78.9%, 7.2%, 40.4%)
CIE-LABlab(37.18, 59.37, -32.54)
CIE-LCHlch(37.18, 67.71, 331.27°)
OKLaboklab(48.4% 0.1707 -0.0895)
OKLCHoklch(48.4% 0.193 332.3)
XYZxyz(18.2732, 9.6331, 26.0911)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98208D #20982B
analogous
#672098 #98208D #982051
triadic
#98208D #8D9820 #208D98
tetradic
#98208D #986720 #20982B #205198
square
#98208D #986720 #20982B #205198
split-complementary
#98208D #519820 #209867
monochromatic
#330B2F #65155E #98208D #CB2BBC #DC57CF

Accessibility & contrast

On white

7.18
#98208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#98208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98208D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98208D#FFFFFF#000000##FFFFFF
##98208D1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#495D8A
Tritanopia (blue-blind)
#9F2F56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #98208d;
/* rgb */ color: rgb(152, 32, 141);
/* oklch */ color: oklch(48.4% 0.193 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba6aaf',
    500: '#98208d',
    950: '#000000',
  },
}
SCSS
$custom: #98208d;
$custom-light: #ba6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#98208d",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 305.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48403,
    "c": 0.19278,
    "h": 332.3
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#98208D
secondary
#54BF5E
accent
#E84F40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #98208D

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

Preview Lab → · Contrast checker → · Palette generator →

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