#981CA1#981CA1

#981CA1 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.211 H 325.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#981CA1
RGBrgb(152, 28, 161)
HSLhsl(296, 70%, 37%)
HSVhsv(296, 83%, 63%)
CMYKcmyk(5.6%, 82.6%, 0%, 36.9%)
CIE-LABlab(37.99, 63.68, -43.42)
CIE-LCHlch(37.99, 77.08, 325.71°)
OKLaboklab(49.36% 0.173 -0.1211)
OKLCHoklch(49.36% 0.211 325)
XYZxyz(19.7967, 10.0805, 34.6143)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981CA1 #25A11C
analogous
#561CA1 #981CA1 #A11C68
triadic
#981CA1 #A1981C #1CA198
tetradic
#981CA1 #A1561C #25A11C #1C68A1
square
#981CA1 #A1561C #25A11C #1C68A1
split-complementary
#981CA1 #68A11C #1CA156
monochromatic
#360A39 #67136D #981CA1 #C925D5 #D856E2

Accessibility & contrast

On white

6.96
#981CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#981CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981CA1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981CA1#FFFFFF#000000##FFFFFF
##981CA11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#9B3760
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981ca1;
/* rgb */ color: rgb(152, 28, 161);
/* oklch */ color: oklch(49.4% 0.211 325.0);
Tailwind
colors: {
  custom: {
    50: '#ba6abd',
    500: '#981ca1',
    950: '#000000',
  },
}
SCSS
$custom: #981ca1;
$custom-light: #ba6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#981ca1",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 295.94,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.21121,
    "h": 325
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#981CA1
secondary
#5CC554
accent
#ED3B47
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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