#98508D#98508D

#98508D is a mid, vivid purple. Relative luminance 0.143; OKLCH L 53.9% C 0.124 H 333.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#98508D
RGBrgb(152, 80, 141)
HSLhsl(309, 31%, 45%)
HSVhsv(309, 47%, 60%)
CMYKcmyk(0%, 47.4%, 7.2%, 40.4%)
CIE-LABlab(44.71, 38.77, -20.78)
CIE-LCHlch(44.71, 43.99, 331.81°)
OKLaboklab(53.92% 0.111 -0.0563)
OKLCHoklch(53.92% 0.124 333.1)
XYZxyz(20.6252, 14.3370, 26.8751)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98508D #50985B
analogous
#7F5098 #98508D #985069
triadic
#98508D #8D9850 #508D98
tetradic
#98508D #987F50 #50985B #506998
square
#98508D #987F50 #50985B #506998
split-complementary
#98508D #699850 #50987F
monochromatic
#482643 #703B68 #98508D #B471AA #C999C2

Accessibility & contrast

On white

5.43
#98508D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#98508D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98508D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98508D#FFFFFF#000000##FFFFFF
##98508D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638F
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#9E5468
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #98508d;
/* rgb */ color: rgb(152, 80, 141);
/* oklch */ color: oklch(53.9% 0.124 333.1);
Tailwind
colors: {
  custom: {
    50: '#b883ae',
    500: '#98508d',
    950: '#000000',
  },
}
SCSS
$custom: #98508d;
$custom-light: #b883ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98508d",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 309.167,
    "s": 31.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.12447,
    "h": 333.1
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#98508D
secondary
#8EB694
accent
#C77061
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #98508D

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

Preview Lab → · Contrast checker → · Palette generator →

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