#981E88#981E88

#981E88 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.191 H 334.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#981E88
RGBrgb(152, 30, 136)
HSLhsl(308, 67%, 36%)
HSVhsv(308, 80%, 60%)
CMYKcmyk(0%, 80.3%, 10.5%, 40.4%)
CIE-LABlab(36.71, 59.17, -30.20)
CIE-LCHlch(36.71, 66.43, 332.96°)
OKLaboklab(47.98% 0.1722 -0.0828)
OKLCHoklch(47.98% 0.191 334.3)
XYZxyz(17.8573, 9.3831, 24.1584)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E88 #1E982E
analogous
#6B1E98 #981E88 #981E4B
triadic
#981E88 #88981E #1E8898
tetradic
#981E88 #986B1E #1E982E #1E4B98
square
#981E88 #986B1E #1E982E #1E4B98
split-complementary
#981E88 #4B981E #1E986B
monochromatic
#320A2D #65145A #981E88 #CB28B6 #DD53CB

Accessibility & contrast

On white

7.30
#981E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#981E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981E88
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E88#FFFFFF#000000##FFFFFF
##981E881.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8B
Deuteranopia (green-blind)
#4B5D85
Tritanopia (blue-blind)
#A02B52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981e88;
/* rgb */ color: rgb(152, 30, 136);
/* oklch */ color: oklch(48.0% 0.191 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba6aab',
    500: '#981e88',
    950: '#000000',
  },
}
SCSS
$custom: #981e88;
$custom-light: #ba6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#981e88",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 307.869,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.19104,
    "h": 334.3
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#981E88
secondary
#51C060
accent
#EA543E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981E88

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

Preview Lab → · Contrast checker → · Palette generator →

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