#982189#982189

#982189 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.189 H 333.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#982189
RGBrgb(152, 33, 137)
HSLhsl(308, 64%, 36%)
HSVhsv(308, 78%, 60%)
CMYKcmyk(0%, 78.3%, 9.9%, 40.4%)
CIE-LABlab(37.06, 58.47, -30.26)
CIE-LCHlch(37.06, 65.83, 332.63°)
OKLaboklab(48.25% 0.1697 -0.083)
OKLCHoklch(48.25% 0.189 333.9)
XYZxyz(18.0083, 9.5708, 24.5610)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982189 #219830
analogous
#6C2198 #982189 #98214E
triadic
#982189 #899821 #218998
tetradic
#982189 #986C21 #219830 #214E98
square
#982189 #986C21 #219830 #214E98
split-complementary
#982189 #4E9821 #21986C
monochromatic
#330B2E #66165C #982189 #CA2CB6 #DB59CA

Accessibility & contrast

On white

7.21
#982189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#982189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982189
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982189#FFFFFF#000000##FFFFFF
##9821891.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#4C5D86
Tritanopia (blue-blind)
#9F2D54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #982189;
/* rgb */ color: rgb(152, 33, 137);
/* oklch */ color: oklch(48.3% 0.189 333.9);
Tailwind
colors: {
  custom: {
    50: '#ba6bac',
    500: '#982189',
    950: '#000000',
  },
}
SCSS
$custom: #982189;
$custom-light: #ba6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#982189",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 307.563,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48251,
    "c": 0.18892,
    "h": 333.9
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#982189
secondary
#56BF63
accent
#E75640
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #982189

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

Preview Lab → · Contrast checker → · Palette generator →

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