#98529A#98529A

#98529A is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.8% C 0.133 H 326.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#98529A
RGBrgb(152, 82, 154)
HSLhsl(298, 31%, 46%)
HSVhsv(298, 47%, 60%)
CMYKcmyk(1.3%, 46.8%, 0%, 39.6%)
CIE-LABlab(45.69, 40.13, -27.05)
CIE-LCHlch(45.69, 48.39, 326.02°)
OKLaboklab(54.83% 0.1107 -0.0741)
OKLCHoklch(54.83% 0.133 326.2)
XYZxyz(21.7985, 15.0442, 32.3212)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98529A #549A52
analogous
#74529A #98529A #9A5278
triadic
#98529A #9A9852 #529A98
tetradic
#98529A #9A7452 #549A52 #52789A
square
#98529A #9A7452 #549A52 #52789A
split-complementary
#98529A #789A52 #529A74
monochromatic
#49274A #713D72 #98529A #B374B5 #C99CCA

Accessibility & contrast

On white

5.24
#98529A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#98529A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98529A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98529A#FFFFFF#000000##FFFFFF
##98529A1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98529a;
/* rgb */ color: rgb(152, 82, 154);
/* oklch */ color: oklch(54.8% 0.133 326.2);
Tailwind
colors: {
  custom: {
    50: '#b885b8',
    500: '#98529a',
    950: '#000000',
  },
}
SCSS
$custom: #98529a;
$custom-light: #b885b8;
$custom-dark: #000000;
JSON
{
  "hex": "#98529a",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 298.333,
    "s": 30.508,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54833,
    "c": 0.13325,
    "h": 326.2
  },
  "luminance": 0.15043
}

Semantic roles & 50–950 ramp

primary
#98529A
secondary
#92B790
accent
#C76164
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #98529A

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

Preview Lab → · Contrast checker → · Palette generator →

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