#981F93#981F93

#981F93 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 330.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#981F93
RGBrgb(152, 31, 147)
HSLhsl(302, 66%, 36%)
HSVhsv(302, 80%, 60%)
CMYKcmyk(0%, 79.6%, 3.3%, 40.4%)
CIE-LABlab(37.41, 60.60, -35.84)
CIE-LCHlch(37.41, 70.40, 329.40°)
OKLaboklab(48.68% 0.1716 -0.0991)
OKLCHoklch(48.68% 0.198 330)
XYZxyz(18.7053, 9.7635, 28.4975)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F93 #1F9824
analogous
#601F98 #981F93 #981F56
triadic
#981F93 #93981F #1F9398
tetradic
#981F93 #98601F #1F9824 #1F5698
square
#981F93 #98601F #1F9824 #1F5698
split-complementary
#981F93 #56981F #1F9860
monochromatic
#320A31 #651562 #981F93 #CB29C4 #DC55D7

Accessibility & contrast

On white

7.11
#981F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#981F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F93
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F93#FFFFFF#000000##FFFFFF
##981F931.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E96
Deuteranopia (green-blind)
#465E90
Tritanopia (blue-blind)
#9E3159
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981f93;
/* rgb */ color: rgb(152, 31, 147);
/* oklch */ color: oklch(48.7% 0.198 330.0);
Tailwind
colors: {
  custom: {
    50: '#ba6ab3',
    500: '#981f93',
    950: '#000000',
  },
}
SCSS
$custom: #981f93;
$custom-light: #ba6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#981f93",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 302.479,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.19813,
    "h": 330
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#981F93
secondary
#53C057
accent
#E9463F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981F93

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

Preview Lab → · Contrast checker → · Palette generator →

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