#981FA0#981FA0

#981FA0 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.208 H 325.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#981FA0
RGBrgb(152, 31, 160)
HSLhsl(296, 68%, 37%)
HSVhsv(296, 81%, 63%)
CMYKcmyk(5%, 80.6%, 0%, 37.3%)
CIE-LABlab(38.19, 62.74, -42.49)
CIE-LCHlch(38.19, 75.78, 325.89°)
OKLaboklab(49.48% 0.171 -0.1185)
OKLCHoklch(49.48% 0.208 325.3)
XYZxyz(19.7836, 10.1948, 34.1767)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981FA0 #27A01F
analogous
#571FA0 #981FA0 #A01F68
triadic
#981FA0 #A0981F #1FA098
tetradic
#981FA0 #A0571F #27A01F #1F68A0
square
#981FA0 #A0571F #27A01F #1F68A0
split-complementary
#981FA0 #68A01F #1FA057
monochromatic
#370B39 #67156D #981FA0 #C929D3 #D75ADF

Accessibility & contrast

On white

6.91
#981FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#981FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981FA0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981FA0#FFFFFF#000000##FFFFFF
##981FA01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#3D5F9D
Tritanopia (blue-blind)
#9C3860
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #981fa0;
/* rgb */ color: rgb(152, 31, 160);
/* oklch */ color: oklch(49.5% 0.208 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba6bbd',
    500: '#981fa0',
    950: '#000000',
  },
}
SCSS
$custom: #981fa0;
$custom-light: #ba6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#981fa0",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 296.279,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.20799,
    "h": 325.3
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#981FA0
secondary
#5EC358
accent
#EA3D48
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #981FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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