#98508F#98508F

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

Color values

HEX#98508F
RGBrgb(152, 80, 143)
HSLhsl(308, 31%, 45%)
HSVhsv(308, 47%, 60%)
CMYKcmyk(0%, 47.4%, 5.9%, 40.4%)
CIE-LABlab(44.80, 39.13, -21.85)
CIE-LCHlch(44.80, 44.82, 330.82°)
OKLaboklab(54.01% 0.1115 -0.0594)
OKLCHoklch(54.01% 0.126 332)
XYZxyz(20.7753, 14.3971, 27.6659)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98508F #509859
analogous
#7D5098 #98508F #98506B
triadic
#98508F #8F9850 #508F98
tetradic
#98508F #987D50 #509859 #506B98
square
#98508F #987D50 #509859 #506B98
split-complementary
#98508F #6B9850 #50987D
monochromatic
#482644 #703B69 #98508F #B471AC #C999C3

Accessibility & contrast

On white

5.41
#98508F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#98508F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98508F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98508F#FFFFFF#000000##FFFFFF
##98508F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6491
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#9D5569
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #98508f;
/* rgb */ color: rgb(152, 80, 143);
/* oklch */ color: oklch(54.0% 0.126 332.0);
Tailwind
colors: {
  custom: {
    50: '#b883b0',
    500: '#98508f',
    950: '#000000',
  },
}
SCSS
$custom: #98508f;
$custom-light: #b883b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98508f",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 307.5,
    "s": 31.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.12628,
    "h": 332
  },
  "luminance": 0.14396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98508F

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

Preview Lab → · Contrast checker → · Palette generator →

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