#98529D#98529D

#98529D is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.0% C 0.136 H 324.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#98529D
RGBrgb(152, 82, 157)
HSLhsl(296, 31%, 47%)
HSVhsv(296, 48%, 62%)
CMYKcmyk(3.2%, 47.8%, 0%, 38.4%)
CIE-LABlab(45.83, 40.71, -28.62)
CIE-LCHlch(45.83, 49.76, 324.90°)
OKLaboklab(54.98% 0.1113 -0.0786)
OKLCHoklch(54.98% 0.136 324.7)
XYZxyz(22.0515, 15.1454, 33.6536)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98529D #579D52
analogous
#73529D #98529D #9D527D
triadic
#98529D #9D9852 #529D98
tetradic
#98529D #9D7352 #579D52 #527D9D
square
#98529D #9D7352 #579D52 #527D9D
split-complementary
#98529D #7D9D52 #529D73
monochromatic
#4A284D #713D75 #98529D #B375B7 #C99DCC

Accessibility & contrast

On white

5.21
#98529D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#98529D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98529D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98529D#FFFFFF#000000##FFFFFF
##98529D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98529d;
/* rgb */ color: rgb(152, 82, 157);
/* oklch */ color: oklch(55.0% 0.136 324.7);
Tailwind
colors: {
  custom: {
    50: '#b885ba',
    500: '#98529d',
    950: '#000000',
  },
}
SCSS
$custom: #98529d;
$custom-light: #b885ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98529d",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 296,
    "s": 31.381,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.13625,
    "h": 324.7
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#98529D
secondary
#94B992
accent
#C86067
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #98529D

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

Preview Lab → · Contrast checker → · Palette generator →

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