#98529B#98529B

#98529B is a mid, vivid purple. Relative luminance 0.151; OKLCH L 54.9% C 0.134 H 325.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#98529B
RGBrgb(152, 82, 155)
HSLhsl(298, 31%, 46%)
HSVhsv(298, 47%, 61%)
CMYKcmyk(1.9%, 47.1%, 0%, 39.2%)
CIE-LABlab(45.74, 40.32, -27.57)
CIE-LCHlch(45.74, 48.85, 325.64°)
OKLaboklab(54.88% 0.1109 -0.0756)
OKLCHoklch(54.88% 0.134 325.7)
XYZxyz(21.8821, 15.0776, 32.7616)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98529B #559B52
analogous
#74529B #98529B #9B527A
triadic
#98529B #9B9852 #529B98
tetradic
#98529B #9B7452 #559B52 #527A9B
square
#98529B #9B7452 #559B52 #527A9B
split-complementary
#98529B #7A9B52 #529B74
monochromatic
#4A284B #713D73 #98529B #B374B6 #C99DCB

Accessibility & contrast

On white

5.23
#98529B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#98529B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98529B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98529B#FFFFFF#000000##FFFFFF
##98529B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B679E
Deuteranopia (green-blind)
#5F6F99
Tritanopia (blue-blind)
#9B5A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #98529b;
/* rgb */ color: rgb(152, 82, 155);
/* oklch */ color: oklch(54.9% 0.134 325.7);
Tailwind
colors: {
  custom: {
    50: '#b885b8',
    500: '#98529b',
    950: '#000000',
  },
}
SCSS
$custom: #98529b;
$custom-light: #b885b8;
$custom-dark: #000000;
JSON
{
  "hex": "#98529b",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 297.534,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54882,
    "c": 0.13425,
    "h": 325.7
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#98529B
secondary
#92B891
accent
#C76165
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #98529B

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

Preview Lab → · Contrast checker → · Palette generator →

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