#98519B#98519B

#98519B is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.7% C 0.136 H 325.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#98519B
RGBrgb(152, 81, 155)
HSLhsl(298, 31%, 46%)
HSVhsv(298, 48%, 61%)
CMYKcmyk(1.9%, 47.7%, 0%, 39.2%)
CIE-LABlab(45.54, 40.86, -27.89)
CIE-LCHlch(45.54, 49.47, 325.68°)
OKLaboklab(54.73% 0.1124 -0.0766)
OKLCHoklch(54.73% 0.136 325.7)
XYZxyz(21.8072, 14.9279, 32.7367)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98519B #549B51
analogous
#73519B #98519B #9B5179
triadic
#98519B #9B9851 #519B98
tetradic
#98519B #9B7351 #549B51 #51799B
square
#98519B #9B7351 #549B51 #51799B
split-complementary
#98519B #799B51 #519B73
monochromatic
#49274B #713C73 #98519B #B373B6 #C99BCB

Accessibility & contrast

On white

5.27
#98519B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#98519B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98519B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98519B#FFFFFF#000000##FFFFFF
##98519B1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49669E
Deuteranopia (green-blind)
#5E6F99
Tritanopia (blue-blind)
#9B596F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #98519b;
/* rgb */ color: rgb(152, 81, 155);
/* oklch */ color: oklch(54.7% 0.136 325.7);
Tailwind
colors: {
  custom: {
    50: '#b884b8',
    500: '#98519b',
    950: '#000000',
  },
}
SCSS
$custom: #98519b;
$custom-light: #b884b8;
$custom-dark: #000000;
JSON
{
  "hex": "#98519b",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 155
  },
  "hsl": {
    "h": 297.568,
    "s": 31.356,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.13598,
    "h": 325.7
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#98519B
secondary
#92B890
accent
#C86064
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #98519B

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

Preview Lab → · Contrast checker → · Palette generator →

#98519B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva