#981E95#981E95

#981E95 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.201 H 329.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#981E95
RGBrgb(152, 30, 149)
HSLhsl(301, 67%, 36%)
HSVhsv(301, 80%, 60%)
CMYKcmyk(0%, 80.3%, 2%, 40.4%)
CIE-LABlab(37.44, 61.19, -37.02)
CIE-LCHlch(37.44, 71.52, 328.82°)
OKLaboklab(48.74% 0.1723 -0.1025)
OKLCHoklch(48.74% 0.201 329.2)
XYZxyz(18.8378, 9.7753, 29.3226)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E95 #1E9821
analogous
#5E1E98 #981E95 #981E58
triadic
#981E95 #95981E #1E9598
tetradic
#981E95 #985E1E #1E9821 #1E5898
square
#981E95 #985E1E #1E9821 #1E5898
split-complementary
#981E95 #58981E #1E985E
monochromatic
#320A31 #651463 #981E95 #CB28C7 #DD53DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##981E95#FFFFFF#000000##FFFFFF
##981E951.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)
#004E98
Deuteranopia (green-blind)
#445E92
Tritanopia (blue-blind)
#9D325A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981e95;
/* rgb */ color: rgb(152, 30, 149);
/* oklch */ color: oklch(48.7% 0.201 329.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ab4',
    500: '#981e95',
    950: '#000000',
  },
}
SCSS
$custom: #981e95;
$custom-light: #ba6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#981e95",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 301.475,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48735,
    "c": 0.2005,
    "h": 329.2
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#981E95
secondary
#51C054
accent
#EA423E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981E95

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

Preview Lab → · Contrast checker → · Palette generator →

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