#984E95#984E95

#984E95 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.0% C 0.135 H 328.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#984E95
RGBrgb(152, 78, 149)
HSLhsl(302, 32%, 45%)
HSVhsv(302, 49%, 60%)
CMYKcmyk(0%, 48.7%, 2%, 40.4%)
CIE-LABlab(44.65, 41.30, -25.68)
CIE-LCHlch(44.65, 48.63, 328.13°)
OKLaboklab(53.99% 0.1157 -0.0702)
OKLCHoklch(53.99% 0.135 328.8)
XYZxyz(21.0978, 14.2953, 30.0759)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E95 #4E9851
analogous
#764E98 #984E95 #984E70
triadic
#984E95 #95984E #4E9598
tetradic
#984E95 #98764E #4E9851 #4E7098
square
#984E95 #98764E #4E9851 #4E7098
split-complementary
#984E95 #70984E #4E9876
monochromatic
#472446 #70396D #984E95 #B56EB2 #CA97C7

Accessibility & contrast

On white

5.44
#984E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#984E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E95
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E95#FFFFFF#000000##FFFFFF
##984E951.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496397
Deuteranopia (green-blind)
#5E6D93
Tritanopia (blue-blind)
#9C556A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #984e95;
/* rgb */ color: rgb(152, 78, 149);
/* oklch */ color: oklch(54.0% 0.135 328.8);
Tailwind
colors: {
  custom: {
    50: '#b882b4',
    500: '#984e95',
    950: '#000000',
  },
}
SCSS
$custom: #984e95;
$custom-light: #b882b4;
$custom-dark: #000000;
JSON
{
  "hex": "#984e95",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 302.432,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53986,
    "c": 0.13537,
    "h": 328.8
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#984E95
secondary
#8CB68D
accent
#C8645F
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #984E95

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

Preview Lab → · Contrast checker → · Palette generator →

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