#981F97#981F97

#981F97 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.201 H 328.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#981F97
RGBrgb(152, 31, 151)
HSLhsl(300, 66%, 36%)
HSVhsv(300, 80%, 60%)
CMYKcmyk(0%, 79.6%, 0.7%, 40.4%)
CIE-LABlab(37.65, 61.24, -37.91)
CIE-LCHlch(37.65, 72.03, 328.25°)
OKLaboklab(48.92% 0.1715 -0.1051)
OKLCHoklch(48.92% 0.201 328.5)
XYZxyz(19.0246, 9.8912, 30.1793)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F97 #1F9820
analogous
#5C1F98 #981F97 #981F5A
triadic
#981F97 #97981F #1F9798
tetradic
#981F97 #985C1F #1F9820 #1F5A98
square
#981F97 #985C1F #1F9820 #1F5A98
split-complementary
#981F97 #5A981F #1F985C
monochromatic
#320A32 #651564 #981F97 #CB29C9 #DC55DB

Accessibility & contrast

On white

7.05
#981F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#981F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F97
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F97#FFFFFF#000000##FFFFFF
##981F971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#9D345B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981f97;
/* rgb */ color: rgb(152, 31, 151);
/* oklch */ color: oklch(48.9% 0.201 328.5);
Tailwind
colors: {
  custom: {
    50: '#ba6bb6',
    500: '#981f97',
    950: '#000000',
  },
}
SCSS
$custom: #981f97;
$custom-light: #ba6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#981f97",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 300.496,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48922,
    "c": 0.20113,
    "h": 328.5
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#981F97
secondary
#53C054
accent
#E9403F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981F97

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

Preview Lab → · Contrast checker → · Palette generator →

#981F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva