#98408E#98408E

#98408E is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.7% C 0.152 H 332.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#98408E
RGBrgb(152, 64, 142)
HSLhsl(307, 41%, 42%)
HSVhsv(307, 58%, 60%)
CMYKcmyk(0%, 57.9%, 6.6%, 40.4%)
CIE-LABlab(41.68, 47.09, -26.08)
CIE-LCHlch(41.68, 53.83, 331.02°)
OKLaboklab(51.69% 0.1347 -0.0712)
OKLCHoklch(51.69% 0.152 332.1)
XYZxyz(19.6647, 12.2966, 26.9237)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98408E #40984A
analogous
#764098 #98408E #984062
triadic
#98408E #8E9840 #408E98
tetradic
#98408E #987640 #40984A #406298
square
#98408E #987640 #40984A #406298
split-complementary
#98408E #629840 #409876
monochromatic
#421C3E #6D2E66 #98408E #BA5BAF #CC86C4

Accessibility & contrast

On white

6.07
#98408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#98408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98408E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98408E#FFFFFF#000000##FFFFFF
##98408E1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A90
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#9E4761
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #98408e;
/* rgb */ color: rgb(152, 64, 142);
/* oklch */ color: oklch(51.7% 0.152 332.1);
Tailwind
colors: {
  custom: {
    50: '#b97aaf',
    500: '#98408e',
    950: '#000000',
  },
}
SCSS
$custom: #98408e;
$custom-light: #b97aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#98408e",
  "rgb": {
    "r": 152,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 306.818,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51688,
    "c": 0.15236,
    "h": 332.1
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98408E

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

Preview Lab → · Contrast checker → · Palette generator →

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