#984E98#984E98

#984E98 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.138 H 327.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#984E98
RGBrgb(152, 78, 152)
HSLhsl(300, 32%, 45%)
HSVhsv(300, 49%, 60%)
CMYKcmyk(0%, 48.7%, 0%, 40.4%)
CIE-LABlab(44.79, 41.87, -27.26)
CIE-LCHlch(44.79, 49.96, 326.93°)
OKLaboklab(54.13% 0.1163 -0.0747)
OKLCHoklch(54.13% 0.138 327.3)
XYZxyz(21.3404, 14.3923, 31.3536)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E98 #4E984E
analogous
#734E98 #984E98 #984E73
triadic
#984E98 #98984E #4E9898
tetradic
#984E98 #98734E #4E984E #4E7398
square
#984E98 #98734E #4E984E #4E7398
split-complementary
#984E98 #73984E #4E9873
monochromatic
#472447 #703970 #984E98 #B56EB5 #CA97CA

Accessibility & contrast

On white

5.41
#984E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#984E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E98
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E98#FFFFFF#000000##FFFFFF
##984E981.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)
#47649A
Deuteranopia (green-blind)
#5D6D96
Tritanopia (blue-blind)
#9C566C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #984e98;
/* rgb */ color: rgb(152, 78, 152);
/* oklch */ color: oklch(54.1% 0.138 327.3);
Tailwind
colors: {
  custom: {
    50: '#b882b6',
    500: '#984e98',
    950: '#000000',
  },
}
SCSS
$custom: #984e98;
$custom-light: #b882b6;
$custom-dark: #000000;
JSON
{
  "hex": "#984e98",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.13823,
    "h": 327.3
  },
  "luminance": 0.14391
}

Semantic roles & 50–950 ramp

primary
#984E98
secondary
#8CB68C
accent
#C85F5F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #984E98

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

Preview Lab → · Contrast checker → · Palette generator →

#984E98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva