#98519C#98519C

#98519C is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.8% C 0.137 H 325.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#98519C
RGBrgb(152, 81, 156)
HSLhsl(297, 32%, 46%)
HSVhsv(297, 48%, 61%)
CMYKcmyk(2.6%, 48.1%, 0%, 38.8%)
CIE-LABlab(45.58, 41.05, -28.41)
CIE-LCHlch(45.58, 49.93, 325.31°)
OKLaboklab(54.78% 0.1126 -0.0781)
OKLCHoklch(54.78% 0.137 325.3)
XYZxyz(21.8916, 14.9616, 33.1808)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98519C #559C51
analogous
#73519C #98519C #9C517B
triadic
#98519C #9C9851 #519C98
tetradic
#98519C #9C7351 #559C51 #517B9C
square
#98519C #9C7351 #559C51 #517B9C
split-complementary
#98519C #7B9C51 #519C73
monochromatic
#4A274B #713C74 #98519C #B374B7 #C99CCC

Accessibility & contrast

On white

5.26
#98519C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98519C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98519C#FFFFFF#000000##FFFFFF
##98519C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #98519c;
/* rgb */ color: rgb(152, 81, 156);
/* oklch */ color: oklch(54.8% 0.137 325.3);
Tailwind
colors: {
  custom: {
    50: '#b884b9',
    500: '#98519c',
    950: '#000000',
  },
}
SCSS
$custom: #98519c;
$custom-light: #b884b9;
$custom-dark: #000000;
JSON
{
  "hex": "#98519c",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 296.8,
    "s": 31.646,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.13698,
    "h": 325.3
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98519C

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

Preview Lab → · Contrast checker → · Palette generator →

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