#981888#981888

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

Color values

HEX#981888
RGBrgb(152, 24, 136)
HSLhsl(308, 73%, 35%)
HSVhsv(308, 84%, 60%)
CMYKcmyk(0%, 84.2%, 10.5%, 40.4%)
CIE-LABlab(36.19, 60.67, -31.02)
CIE-LCHlch(36.19, 68.14, 332.92°)
OKLaboklab(47.61% 0.1766 -0.0851)
OKLCHoklch(47.61% 0.196 334.3)
XYZxyz(17.7197, 9.1079, 24.1125)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981888 #189828
analogous
#681898 #981888 #981848
triadic
#981888 #889818 #188898
tetradic
#981888 #986818 #189828 #184898
square
#981888 #986818 #189828 #184898
split-complementary
#981888 #489818 #189868
monochromatic
#2E0729 #631059 #981888 #CD20B7 #E248CF

Accessibility & contrast

On white

7.44
#981888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#981888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981888
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981888#FFFFFF#000000##FFFFFF
##9818881.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8B
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#A02751
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981888;
/* rgb */ color: rgb(152, 24, 136);
/* oklch */ color: oklch(47.6% 0.196 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba68ab',
    500: '#981888',
    950: '#000000',
  },
}
SCSS
$custom: #981888;
$custom-light: #ba68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#981888",
  "rgb": {
    "r": 152,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 307.5,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.19606,
    "h": 334.3
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#981888
secondary
#48C458
accent
#EF4F38
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981888

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

Preview Lab → · Contrast checker → · Palette generator →

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