#98508E#98508E

#98508E is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.0% C 0.125 H 332.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#98508E
RGBrgb(152, 80, 142)
HSLhsl(308, 31%, 45%)
HSVhsv(308, 47%, 60%)
CMYKcmyk(0%, 47.4%, 6.6%, 40.4%)
CIE-LABlab(44.75, 38.95, -21.32)
CIE-LCHlch(44.75, 44.40, 331.31°)
OKLaboklab(53.96% 0.1112 -0.0578)
OKLCHoklch(53.96% 0.125 332.5)
XYZxyz(20.6999, 14.3669, 27.2687)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98508E #50985A
analogous
#7E5098 #98508E #98506A
triadic
#98508E #8E9850 #508E98
tetradic
#98508E #987E50 #50985A #506A98
square
#98508E #987E50 #50985A #506A98
split-complementary
#98508E #6A9850 #50987E
monochromatic
#482643 #703B69 #98508E #B471AB #C999C3

Accessibility & contrast

On white

5.42
#98508E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#98508E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98508E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98508E#FFFFFF#000000##FFFFFF
##98508E1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#626E8C
Tritanopia (blue-blind)
#9E5568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #98508e;
/* rgb */ color: rgb(152, 80, 142);
/* oklch */ color: oklch(54.0% 0.125 332.5);
Tailwind
colors: {
  custom: {
    50: '#b883af',
    500: '#98508e',
    950: '#000000',
  },
}
SCSS
$custom: #98508e;
$custom-light: #b883af;
$custom-dark: #000000;
JSON
{
  "hex": "#98508e",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 308.333,
    "s": 31.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.12538,
    "h": 332.5
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#98508E
secondary
#8EB693
accent
#C76F61
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #98508E

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

Preview Lab → · Contrast checker → · Palette generator →

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