#981CA0#981CA0

#981CA0 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.210 H 325.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#981CA0
RGBrgb(152, 28, 160)
HSLhsl(296, 70%, 37%)
HSVhsv(296, 83%, 63%)
CMYKcmyk(5%, 82.5%, 0%, 37.3%)
CIE-LABlab(37.92, 63.52, -42.92)
CIE-LCHlch(37.92, 76.66, 325.95°)
OKLaboklab(49.29% 0.1731 -0.1197)
OKLCHoklch(49.29% 0.21 325.3)
XYZxyz(19.7089, 10.0453, 34.1518)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981CA0 #24A01C
analogous
#561CA0 #981CA0 #A01C66
triadic
#981CA0 #A0981C #1CA098
tetradic
#981CA0 #A0561C #24A01C #1C66A0
square
#981CA0 #A0561C #24A01C #1C66A0
split-complementary
#981CA0 #66A01C #1CA056
monochromatic
#350A38 #67136C #981CA0 #C925D4 #D955E1

Accessibility & contrast

On white

6.98
#981CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #981CA0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981CA0#FFFFFF#000000##FFFFFF
##981CA01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#3C5E9D
Tritanopia (blue-blind)
#9C3760
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #981ca0;
/* rgb */ color: rgb(152, 28, 160);
/* oklch */ color: oklch(49.3% 0.210 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba6abd',
    500: '#981ca0',
    950: '#000000',
  },
}
SCSS
$custom: #981ca0;
$custom-light: #ba6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#981ca0",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 296.364,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.21044,
    "h": 325.3
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#981CA0
secondary
#5AC453
accent
#ED3B46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #981CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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