#98528D#98528D

#98528D is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.2% C 0.121 H 333.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#98528D
RGBrgb(152, 82, 141)
HSLhsl(309, 30%, 46%)
HSVhsv(309, 46%, 60%)
CMYKcmyk(0%, 46.1%, 7.2%, 40.4%)
CIE-LABlab(45.13, 37.69, -20.14)
CIE-LCHlch(45.13, 42.74, 331.89°)
OKLaboklab(54.23% 0.1079 -0.0545)
OKLCHoklch(54.23% 0.121 333.2)
XYZxyz(20.7738, 14.6343, 26.9246)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98528D #52985D
analogous
#805298 #98528D #98526A
triadic
#98528D #8D9852 #528D98
tetradic
#98528D #988052 #52985D #526A98
square
#98528D #988052 #52985D #526A98
split-complementary
#98528D #6A9852 #529880
monochromatic
#482743 #703D68 #98528D #B473AA #C99BC2

Accessibility & contrast

On white

5.35
#98528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#98528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98528D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98528D#FFFFFF#000000##FFFFFF
##98528D1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648F
Deuteranopia (green-blind)
#646E8B
Tritanopia (blue-blind)
#9E5669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #98528d;
/* rgb */ color: rgb(152, 82, 141);
/* oklch */ color: oklch(54.2% 0.121 333.2);
Tailwind
colors: {
  custom: {
    50: '#b885ae',
    500: '#98528d',
    950: '#000000',
  },
}
SCSS
$custom: #98528d;
$custom-light: #b885ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98528d",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 309.429,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.12091,
    "h": 333.2
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#98528D
secondary
#90B696
accent
#C67162
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #98528D

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

Preview Lab → · Contrast checker → · Palette generator →

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