#98408C#98408C

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

Color values

HEX#98408C
RGBrgb(152, 64, 140)
HSLhsl(308, 41%, 42%)
HSVhsv(308, 58%, 60%)
CMYKcmyk(0%, 57.9%, 7.9%, 40.4%)
CIE-LABlab(41.59, 46.74, -25.01)
CIE-LCHlch(41.59, 53.01, 331.85°)
OKLaboklab(51.59% 0.1344 -0.0682)
OKLCHoklch(51.59% 0.151 333.1)
XYZxyz(19.5159, 12.2370, 26.1399)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98408C #40984C
analogous
#784098 #98408C #984060
triadic
#98408C #8C9840 #408C98
tetradic
#98408C #987840 #40984C #406098
square
#98408C #987840 #40984C #406098
split-complementary
#98408C #609840 #409878
monochromatic
#421C3D #6D2E64 #98408C #BA5BAD #CC86C3

Accessibility & contrast

On white

6.09
#98408C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98408C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98408C#FFFFFF#000000##FFFFFF
##98408C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8E
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#9E4660
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #98408c;
/* rgb */ color: rgb(152, 64, 140);
/* oklch */ color: oklch(51.6% 0.151 333.1);
Tailwind
colors: {
  custom: {
    50: '#b97aae',
    500: '#98408c',
    950: '#000000',
  },
}
SCSS
$custom: #98408c;
$custom-light: #b97aae;
$custom-dark: #000000;
JSON
{
  "hex": "#98408c",
  "rgb": {
    "r": 152,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 308.182,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.15066,
    "h": 333.1
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#98408C
secondary
#7DB785
accent
#D16857
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98408C

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

Preview Lab → · Contrast checker → · Palette generator →

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