#982891#982891

#982891 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.188 H 330.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#982891
RGBrgb(152, 40, 145)
HSLhsl(304, 58%, 38%)
HSVhsv(304, 74%, 60%)
CMYKcmyk(0%, 73.7%, 4.6%, 40.4%)
CIE-LABlab(38.27, 57.51, -33.27)
CIE-LCHlch(38.27, 66.44, 329.95°)
OKLaboklab(49.26% 0.1636 -0.0917)
OKLCHoklch(49.26% 0.188 330.7)
XYZxyz(18.8185, 10.2388, 27.7677)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982891 #28982F
analogous
#672898 #982891 #982859
triadic
#982891 #919828 #289198
tetradic
#982891 #986728 #28982F #285998
square
#982891 #986728 #28982F #285998
split-complementary
#982891 #599828 #289867
monochromatic
#370F35 #681B63 #982891 #C835BF #D664CF

Accessibility & contrast

On white

6.89
#982891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#982891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982891
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982891#FFFFFF#000000##FFFFFF
##9828911.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#4A5F8E
Tritanopia (blue-blind)
#9E365A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982891;
/* rgb */ color: rgb(152, 40, 145);
/* oklch */ color: oklch(49.3% 0.188 330.7);
Tailwind
colors: {
  custom: {
    50: '#ba6eb1',
    500: '#982891',
    950: '#000000',
  },
}
SCSS
$custom: #982891;
$custom-light: #ba6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#982891",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 303.75,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.18753,
    "h": 330.7
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#982891
secondary
#60BC65
accent
#E25046
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982891

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

Preview Lab → · Contrast checker → · Palette generator →

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