#98539D#98539D

#98539D is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.1% C 0.135 H 324.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#98539D
RGBrgb(152, 83, 157)
HSLhsl(296, 31%, 47%)
HSVhsv(296, 47%, 62%)
CMYKcmyk(3.2%, 47.1%, 0%, 38.4%)
CIE-LABlab(46.04, 40.18, -28.29)
CIE-LCHlch(46.04, 49.14, 324.85°)
OKLaboklab(55.13% 0.1098 -0.0777)
OKLCHoklch(55.13% 0.135 324.7)
XYZxyz(22.1274, 15.2973, 33.6789)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98539D #589D53
analogous
#73539D #98539D #9D537D
triadic
#98539D #9D9853 #539D98
tetradic
#98539D #9D7353 #589D53 #537D9D
square
#98539D #9D7353 #589D53 #537D9D
split-complementary
#98539D #7D9D53 #539D73
monochromatic
#4A294D #713E75 #98539D #B276B7 #C99ECC

Accessibility & contrast

On white

5.17
#98539D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#98539D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98539D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98539D#FFFFFF#000000##FFFFFF
##98539D1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B68A0
Deuteranopia (green-blind)
#5E709B
Tritanopia (blue-blind)
#9B5B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #98539d;
/* rgb */ color: rgb(152, 83, 157);
/* oklch */ color: oklch(55.1% 0.135 324.7);
Tailwind
colors: {
  custom: {
    50: '#b886ba',
    500: '#98539d',
    950: '#000000',
  },
}
SCSS
$custom: #98539d;
$custom-light: #b886ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98539d",
  "rgb": {
    "r": 152,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 295.946,
    "s": 30.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.13451,
    "h": 324.7
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#98539D
secondary
#95B993
accent
#C76168
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #98539D

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

Preview Lab → · Contrast checker → · Palette generator →

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