#98408D#98408D

#98408D is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.6% C 0.151 H 332.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#98408D
RGBrgb(152, 64, 141)
HSLhsl(308, 41%, 42%)
HSVhsv(308, 58%, 60%)
CMYKcmyk(0%, 57.9%, 7.2%, 40.4%)
CIE-LABlab(41.64, 46.91, -25.54)
CIE-LCHlch(41.64, 53.42, 331.43°)
OKLaboklab(51.64% 0.1345 -0.0697)
OKLCHoklch(51.64% 0.152 332.6)
XYZxyz(19.5900, 12.2667, 26.5300)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98408D #40984B
analogous
#774098 #98408D #984061
triadic
#98408D #8D9840 #408D98
tetradic
#98408D #987740 #40984B #406198
square
#98408D #987740 #40984B #406198
split-complementary
#98408D #619840 #409877
monochromatic
#421C3D #6D2E65 #98408D #BA5BAE #CC86C3

Accessibility & contrast

On white

6.08
#98408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#98408D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98408D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98408D#FFFFFF#000000##FFFFFF
##98408D1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#9E4760
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #98408d;
/* rgb */ color: rgb(152, 64, 141);
/* oklch */ color: oklch(51.6% 0.151 332.6);
Tailwind
colors: {
  custom: {
    50: '#b97aae',
    500: '#98408d',
    950: '#000000',
  },
}
SCSS
$custom: #98408d;
$custom-light: #b97aae;
$custom-dark: #000000;
JSON
{
  "hex": "#98408d",
  "rgb": {
    "r": 152,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 307.5,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.1515,
    "h": 332.6
  },
  "luminance": 0.12265
}

Semantic roles & 50–950 ramp

primary
#98408D
secondary
#7DB784
accent
#D16657
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98408D

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

Preview Lab → · Contrast checker → · Palette generator →

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