#98529C#98529C

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

Color values

HEX#98529C
RGBrgb(152, 82, 156)
HSLhsl(297, 31%, 47%)
HSVhsv(297, 47%, 61%)
CMYKcmyk(2.6%, 47.4%, 0%, 38.8%)
CIE-LABlab(45.79, 40.52, -28.09)
CIE-LCHlch(45.79, 49.31, 325.26°)
OKLaboklab(54.93% 0.1111 -0.0771)
OKLCHoklch(54.93% 0.135 325.2)
XYZxyz(21.9664, 15.1113, 33.2058)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98529C #569C52
analogous
#73529C #98529C #9C527B
triadic
#98529C #9C9852 #529C98
tetradic
#98529C #9C7352 #569C52 #527B9C
square
#98529C #9C7352 #569C52 #527B9C
split-complementary
#98529C #7B9C52 #529C73
monochromatic
#4A284C #713D74 #98529C #B375B6 #C99DCB

Accessibility & contrast

On white

5.22
#98529C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98529C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98529C#FFFFFF#000000##FFFFFF
##98529C1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A679F
Deuteranopia (green-blind)
#5E6F9A
Tritanopia (blue-blind)
#9B5A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #98529c;
/* rgb */ color: rgb(152, 82, 156);
/* oklch */ color: oklch(54.9% 0.135 325.2);
Tailwind
colors: {
  custom: {
    50: '#b885b9',
    500: '#98529c',
    950: '#000000',
  },
}
SCSS
$custom: #98529c;
$custom-light: #b885b9;
$custom-dark: #000000;
JSON
{
  "hex": "#98529c",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 296.757,
    "s": 31.092,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.13524,
    "h": 325.2
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#98529C
secondary
#93B991
accent
#C76166
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #98529C

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

Preview Lab → · Contrast checker → · Palette generator →

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