#981E9E#981E9E

#981E9E is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.207 H 326.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#981E9E
RGBrgb(152, 30, 158)
HSLhsl(297, 68%, 37%)
HSVhsv(297, 81%, 62%)
CMYKcmyk(3.8%, 81%, 0%, 38%)
CIE-LABlab(37.97, 62.67, -41.63)
CIE-LCHlch(37.97, 75.24, 326.41°)
OKLaboklab(49.29% 0.1719 -0.1159)
OKLCHoklch(49.29% 0.207 326)
XYZxyz(19.5843, 10.0739, 33.2541)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981E9E #249E1E
analogous
#581E9E #981E9E #9E1E64
triadic
#981E9E #9E981E #1E9E98
tetradic
#981E9E #9E581E #249E1E #1E649E
square
#981E9E #9E581E #249E1E #1E649E
split-complementary
#981E9E #649E1E #1E9E58
monochromatic
#350A37 #67146B #981E9E #C928D1 #D957DF

Accessibility & contrast

On white

6.97
#981E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#981E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981E9E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981E9E#FFFFFF#000000##FFFFFF
##981E9E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#9C375F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981e9e;
/* rgb */ color: rgb(152, 30, 158);
/* oklch */ color: oklch(49.3% 0.207 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba6bbb',
    500: '#981e9e',
    950: '#000000',
  },
}
SCSS
$custom: #981e9e;
$custom-light: #ba6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#981e9e",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 297.188,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.2073,
    "h": 326
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#981E9E
secondary
#5AC355
accent
#EB3D45
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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