#981E92#981E92

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

Color values

HEX#981E92
RGBrgb(152, 30, 146)
HSLhsl(303, 67%, 36%)
HSVhsv(303, 80%, 60%)
CMYKcmyk(0%, 80.3%, 3.9%, 40.4%)
CIE-LABlab(37.26, 60.71, -35.47)
CIE-LCHlch(37.26, 70.31, 329.71°)
OKLaboklab(48.56% 0.1724 -0.098)
OKLCHoklch(48.56% 0.198 330.4)
XYZxyz(18.6014, 9.6808, 28.0774)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E92 #1E9824
analogous
#611E98 #981E92 #981E55
triadic
#981E92 #92981E #1E9298
tetradic
#981E92 #98611E #1E9824 #1E5598
square
#981E92 #98611E #1E9824 #1E5598
split-complementary
#981E92 #55981E #1E9861
monochromatic
#320A30 #651461 #981E92 #CB28C3 #DD53D6

Accessibility & contrast

On white

7.15
#981E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#981E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E92
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E92#FFFFFF#000000##FFFFFF
##981E921.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094D95
Deuteranopia (green-blind)
#465D8F
Tritanopia (blue-blind)
#9E3058
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981e92;
/* rgb */ color: rgb(152, 30, 146);
/* oklch */ color: oklch(48.6% 0.198 330.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ab2',
    500: '#981e92',
    950: '#000000',
  },
}
SCSS
$custom: #981e92;
$custom-light: #ba6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#981e92",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 302.951,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.19827,
    "h": 330.4
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#981E92
secondary
#51C057
accent
#EA463E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981E92

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

Preview Lab → · Contrast checker → · Palette generator →

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