#98528E#98528E

#98528E is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.3% C 0.122 H 332.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#98528E
RGBrgb(152, 82, 142)
HSLhsl(309, 30%, 46%)
HSVhsv(309, 46%, 60%)
CMYKcmyk(0%, 46.1%, 6.6%, 40.4%)
CIE-LABlab(45.17, 37.88, -20.68)
CIE-LCHlch(45.17, 43.15, 331.37°)
OKLaboklab(54.27% 0.1082 -0.056)
OKLCHoklch(54.27% 0.122 332.6)
XYZxyz(20.8486, 14.6642, 27.3183)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98528E #52985C
analogous
#7F5298 #98528E #98526B
triadic
#98528E #8E9852 #528E98
tetradic
#98528E #987F52 #52985C #526B98
square
#98528E #987F52 #52985C #526B98
split-complementary
#98528E #6B9852 #52987F
monochromatic
#482744 #703D69 #98528E #B473AB #C99BC3

Accessibility & contrast

On white

5.34
#98528E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98528E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98528E#FFFFFF#000000##FFFFFF
##98528E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506590
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#9D5669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #98528e;
/* rgb */ color: rgb(152, 82, 142);
/* oklch */ color: oklch(54.3% 0.122 332.6);
Tailwind
colors: {
  custom: {
    50: '#b885af',
    500: '#98528e',
    950: '#000000',
  },
}
SCSS
$custom: #98528e;
$custom-light: #b885af;
$custom-dark: #000000;
JSON
{
  "hex": "#98528e",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 308.571,
    "s": 29.915,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54271,
    "c": 0.12181,
    "h": 332.6
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#98528E
secondary
#90B695
accent
#C67062
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #98528E

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

Preview Lab → · Contrast checker → · Palette generator →

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