#981E8E#981E8E

#981E8E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.195 H 331.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#981E8E
RGBrgb(152, 30, 142)
HSLhsl(305, 67%, 36%)
HSVhsv(305, 80%, 60%)
CMYKcmyk(0%, 80.3%, 6.6%, 40.4%)
CIE-LABlab(37.04, 60.08, -33.37)
CIE-LCHlch(37.04, 68.73, 330.95°)
OKLaboklab(48.32% 0.1724 -0.0919)
OKLCHoklch(48.32% 0.195 331.9)
XYZxyz(18.2957, 9.5585, 26.4673)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E8E #1E9828
analogous
#651E98 #981E8E #981E51
triadic
#981E8E #8E981E #1E8E98
tetradic
#981E8E #98651E #1E9828 #1E5198
square
#981E8E #98651E #1E9828 #1E5198
split-complementary
#981E8E #51981E #1E9865
monochromatic
#320A2F #65145E #981E8E #CB28BE #DD53D2

Accessibility & contrast

On white

7.21
#981E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#981E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E8E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E8E#FFFFFF#000000##FFFFFF
##981E8E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C91
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#9F2E56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #981e8e;
/* rgb */ color: rgb(152, 30, 142);
/* oklch */ color: oklch(48.3% 0.195 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba6aaf',
    500: '#981e8e',
    950: '#000000',
  },
}
SCSS
$custom: #981e8e;
$custom-light: #ba6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#981e8e",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 304.918,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48323,
    "c": 0.19535,
    "h": 331.9
  },
  "luminance": 0.09557
}

Semantic roles & 50–950 ramp

primary
#981E8E
secondary
#51C05B
accent
#EA4C3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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