#981F90#981F90

#981F90 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.196 H 331.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#981F90
RGBrgb(152, 31, 144)
HSLhsl(304, 66%, 36%)
HSVhsv(304, 80%, 60%)
CMYKcmyk(0%, 79.6%, 5.3%, 40.4%)
CIE-LABlab(37.24, 60.12, -34.27)
CIE-LCHlch(37.24, 69.21, 330.31°)
OKLaboklab(48.51% 0.1716 -0.0945)
OKLCHoklch(48.51% 0.196 331.1)
XYZxyz(18.4729, 9.6705, 27.2738)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F90 #1F9827
analogous
#631F98 #981F90 #981F53
triadic
#981F90 #90981F #1F9098
tetradic
#981F90 #98631F #1F9827 #1F5398
square
#981F90 #98631F #1F9827 #1F5398
split-complementary
#981F90 #53981F #1F9863
monochromatic
#320A30 #651560 #981F90 #CB29C0 #DC55D3

Accessibility & contrast

On white

7.16
#981F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#981F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F90
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F90#FFFFFF#000000##FFFFFF
##981F901.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D93
Deuteranopia (green-blind)
#475D8D
Tritanopia (blue-blind)
#9E3057
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #981f90;
/* rgb */ color: rgb(152, 31, 144);
/* oklch */ color: oklch(48.5% 0.196 331.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ab1',
    500: '#981f90',
    950: '#000000',
  },
}
SCSS
$custom: #981f90;
$custom-light: #ba6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#981f90",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 303.967,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.19591,
    "h": 331.1
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#981F90
secondary
#53C05A
accent
#E94A3F
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #981F90

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

Preview Lab → · Contrast checker → · Palette generator →

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