#981A94#981A94

#981A94 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.203 H 329.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#981A94
RGBrgb(152, 26, 148)
HSLhsl(302, 71%, 35%)
HSVhsv(302, 83%, 60%)
CMYKcmyk(0%, 82.9%, 2.6%, 40.4%)
CIE-LABlab(37.03, 62.04, -37.06)
CIE-LCHlch(37.03, 72.27, 329.15°)
OKLaboklab(48.43% 0.1752 -0.1026)
OKLCHoklch(48.43% 0.203 329.6)
XYZxyz(18.6635, 9.5538, 28.8723)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A94 #1A981E
analogous
#5D1A98 #981A94 #981A55
triadic
#981A94 #94981A #1A9498
tetradic
#981A94 #985D1A #1A981E #1A5598
square
#981A94 #985D1A #1A981E #1A5598
split-complementary
#981A94 #55981A #1A985D
monochromatic
#2F082E #641161 #981A94 #CC23C7 #E04CDC

Accessibility & contrast

On white

7.22
#981A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981A94
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A94#FFFFFF#000000##FFFFFF
##981A941.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#435D91
Tritanopia (blue-blind)
#9E2F58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #981a94;
/* rgb */ color: rgb(152, 26, 148);
/* oklch */ color: oklch(48.4% 0.203 329.6);
Tailwind
colors: {
  custom: {
    50: '#ba69b4',
    500: '#981a94',
    950: '#000000',
  },
}
SCSS
$custom: #981a94;
$custom-light: #ba69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#981a94",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 301.905,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48427,
    "c": 0.20306,
    "h": 329.6
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#981A94
secondary
#4BC24F
accent
#EE403A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #981A94

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

Preview Lab → · Contrast checker → · Palette generator →

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