#981988#981988

#981988 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.7% C 0.195 H 334.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#981988
RGBrgb(152, 25, 136)
HSLhsl(308, 72%, 35%)
HSVhsv(308, 84%, 60%)
CMYKcmyk(0%, 83.6%, 10.5%, 40.4%)
CIE-LABlab(36.27, 60.44, -30.89)
CIE-LCHlch(36.27, 67.88, 332.93°)
OKLaboklab(47.67% 0.1759 -0.0847)
OKLCHoklch(47.67% 0.195 334.3)
XYZxyz(17.7407, 9.1499, 24.1195)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981988 #199829
analogous
#691998 #981988 #981949
triadic
#981988 #889819 #198898
tetradic
#981988 #986919 #199829 #194998
square
#981988 #986919 #199829 #194998
split-complementary
#981988 #499819 #199869
monochromatic
#2F082A #631059 #981988 #CD22B7 #E14ACE

Accessibility & contrast

On white

7.42
#981988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#981988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981988
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981988#FFFFFF#000000##FFFFFF
##9819881.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#A02851
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981988;
/* rgb */ color: rgb(152, 25, 136);
/* oklch */ color: oklch(47.7% 0.195 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba68ab',
    500: '#981988',
    950: '#000000',
  },
}
SCSS
$custom: #981988;
$custom-light: #ba68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#981988",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 307.559,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.19528,
    "h": 334.3
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#981988
secondary
#4AC359
accent
#EE5039
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981988

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

Preview Lab → · Contrast checker → · Palette generator →

#981988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva