#981F85#981F85

#981F85 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.188 H 335.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#981F85
RGBrgb(152, 31, 133)
HSLhsl(309, 66%, 36%)
HSVhsv(309, 80%, 60%)
CMYKcmyk(0%, 79.6%, 12.5%, 40.4%)
CIE-LABlab(36.65, 58.44, -28.44)
CIE-LCHlch(36.65, 64.99, 334.05°)
OKLaboklab(47.89% 0.1712 -0.0777)
OKLCHoklch(47.89% 0.188 335.6)
XYZxyz(17.6728, 9.3505, 23.0598)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F85 #1F9832
analogous
#6E1F98 #981F85 #981F49
triadic
#981F85 #85981F #1F8598
tetradic
#981F85 #986E1F #1F9832 #1F4998
square
#981F85 #986E1F #1F9832 #1F4998
split-complementary
#981F85 #49981F #1F986E
monochromatic
#320A2C #651559 #981F85 #CB29B1 #DC55C7

Accessibility & contrast

On white

7.32
#981F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#981F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F85
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F85#FFFFFF#000000##FFFFFF
##981F851.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#4D5D82
Tritanopia (blue-blind)
#A02A51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981f85;
/* rgb */ color: rgb(152, 31, 133);
/* oklch */ color: oklch(47.9% 0.188 335.6);
Tailwind
colors: {
  custom: {
    50: '#ba6aa9',
    500: '#981f85',
    950: '#000000',
  },
}
SCSS
$custom: #981f85;
$custom-light: #ba6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#981f85",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 309.421,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47889,
    "c": 0.18801,
    "h": 335.6
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#981F85
secondary
#53C064
accent
#E9593F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981F85

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

Preview Lab → · Contrast checker → · Palette generator →

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