#981F92#981F92

#981F92 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.197 H 330.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#981F92
RGBrgb(152, 31, 146)
HSLhsl(303, 66%, 36%)
HSVhsv(303, 80%, 60%)
CMYKcmyk(0%, 79.6%, 3.9%, 40.4%)
CIE-LABlab(37.36, 60.44, -35.32)
CIE-LCHlch(37.36, 70.00, 329.70°)
OKLaboklab(48.62% 0.1716 -0.0976)
OKLCHoklch(48.62% 0.197 330.4)
XYZxyz(18.6271, 9.7322, 28.0860)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F92 #1F9825
analogous
#611F98 #981F92 #981F55
triadic
#981F92 #92981F #1F9298
tetradic
#981F92 #98611F #1F9825 #1F5598
square
#981F92 #98611F #1F9825 #1F5598
split-complementary
#981F92 #55981F #1F9861
monochromatic
#320A30 #651561 #981F92 #CB29C3 #DC55D6

Accessibility & contrast

On white

7.13
#981F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F92
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F92#FFFFFF#000000##FFFFFF
##981F921.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4E95
Deuteranopia (green-blind)
#465E8F
Tritanopia (blue-blind)
#9E3158
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981f92;
/* rgb */ color: rgb(152, 31, 146);
/* oklch */ color: oklch(48.6% 0.197 330.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ab2',
    500: '#981f92',
    950: '#000000',
  },
}
SCSS
$custom: #981f92;
$custom-light: #ba6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#981f92",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 302.975,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.19739,
    "h": 330.4
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#981F92
secondary
#53C058
accent
#E9473F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981F92

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

Preview Lab → · Contrast checker → · Palette generator →

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