#982889#982889

#982889 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.181 H 334.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#982889
RGBrgb(152, 40, 137)
HSLhsl(308, 58%, 38%)
HSVhsv(308, 74%, 60%)
CMYKcmyk(0%, 73.7%, 9.9%, 40.4%)
CIE-LABlab(37.84, 56.23, -29.03)
CIE-LCHlch(37.84, 63.28, 332.69°)
OKLaboklab(48.81% 0.1631 -0.0795)
OKLCHoklch(48.81% 0.181 334)
XYZxyz(18.2232, 10.0007, 24.6326)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982889 #289837
analogous
#6F2898 #982889 #982851
triadic
#982889 #899828 #288998
tetradic
#982889 #986F28 #289837 #285198
square
#982889 #986F28 #289837 #285198
split-complementary
#982889 #519828 #28986F
monochromatic
#370F32 #681B5D #982889 #C835B5 #D664C7

Accessibility & contrast

On white

7.00
#982889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#982889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982889
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982889#FFFFFF#000000##FFFFFF
##9828891.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8C
Deuteranopia (green-blind)
#4E5F86
Tritanopia (blue-blind)
#9F3256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #982889;
/* rgb */ color: rgb(152, 40, 137);
/* oklch */ color: oklch(48.8% 0.181 334.0);
Tailwind
colors: {
  custom: {
    50: '#ba6dac',
    500: '#982889',
    950: '#000000',
  },
}
SCSS
$custom: #982889;
$custom-light: #ba6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#982889",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 308.036,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.18148,
    "h": 334
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#982889
secondary
#60BC6C
accent
#E25B46
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982889

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

Preview Lab → · Contrast checker → · Palette generator →

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