#982A91#982A91

#982A91 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.185 H 330.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#982A91
RGBrgb(152, 42, 145)
HSLhsl(304, 57%, 38%)
HSVhsv(304, 72%, 60%)
CMYKcmyk(0%, 72.4%, 4.6%, 40.4%)
CIE-LABlab(38.51, 56.82, -32.88)
CIE-LCHlch(38.51, 65.64, 329.94°)
OKLaboklab(49.43% 0.1616 -0.0906)
OKLCHoklch(49.43% 0.185 330.7)
XYZxyz(18.8876, 10.3771, 27.7908)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A91 #2A9831
analogous
#682A98 #982A91 #982A5A
triadic
#982A91 #91982A #2A9198
tetradic
#982A91 #98682A #2A9831 #2A5A98
square
#982A91 #98682A #2A9831 #2A5A98
split-complementary
#982A91 #5A982A #2A9868
monochromatic
#381036 #681D63 #982A91 #C837BF #D567CE

Accessibility & contrast

On white

6.83
#982A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#982A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982A91
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A91#FFFFFF#000000##FFFFFF
##982A911.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#4B608E
Tritanopia (blue-blind)
#9E375B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982a91;
/* rgb */ color: rgb(152, 42, 145);
/* oklch */ color: oklch(49.4% 0.185 330.7);
Tailwind
colors: {
  custom: {
    50: '#ba6fb1',
    500: '#982a91',
    950: '#000000',
  },
}
SCSS
$custom: #982a91;
$custom-light: #ba6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#982a91",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 303.818,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49431,
    "c": 0.18526,
    "h": 330.7
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#982A91
secondary
#62BB68
accent
#E05248
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982A91

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

Preview Lab → · Contrast checker → · Palette generator →

#982A91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva