#982CB9#982CB9

#982CB9 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.216 H 316.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#982CB9
RGBrgb(152, 44, 185)
HSLhsl(286, 62%, 45%)
HSVhsv(286, 76%, 73%)
CMYKcmyk(17.8%, 76.2%, 0%, 27.5%)
CIE-LABlab(41.19, 63.30, -52.57)
CIE-LCHlch(41.19, 82.28, 320.29°)
OKLaboklab(52.12% 0.1576 -0.148)
OKLCHoklch(52.12% 0.216 316.8)
XYZxyz(22.6052, 11.9805, 47.0113)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CB9 #4DB92C
analogous
#512CB9 #982CB9 #B92C94
triadic
#982CB9 #B9982C #2CB998
tetradic
#982CB9 #B9512C #4DB92C #2C94B9
square
#982CB9 #B9512C #4DB92C #2C94B9
split-complementary
#982CB9 #94B92C #2CB951
monochromatic
#471456 #6F2088 #982CB9 #B54DD5 #CA7FE1

Accessibility & contrast

On white

6.18
#982CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#982CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CB9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CB9#FFFFFF#000000##FFFFFF
##982CB91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#2D64B6
Tritanopia (blue-blind)
#964B71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982cb9;
/* rgb */ color: rgb(152, 44, 185);
/* oklch */ color: oklch(52.1% 0.216 316.8);
Tailwind
colors: {
  custom: {
    50: '#bb71cf',
    500: '#982cb9',
    950: '#000000',
  },
}
SCSS
$custom: #982cb9;
$custom-light: #bb71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982cb9",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 285.957,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.21623,
    "h": 316.8
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#982CB9
secondary
#8BC978
accent
#E54369
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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