#982EB9#982EB9

#982EB9 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.214 H 316.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#982EB9
RGBrgb(152, 46, 185)
HSLhsl(286, 60%, 45%)
HSVhsv(286, 75%, 73%)
CMYKcmyk(17.8%, 75.1%, 0%, 27.5%)
CIE-LABlab(41.43, 62.60, -52.18)
CIE-LCHlch(41.43, 81.50, 320.19°)
OKLaboklab(52.29% 0.1558 -0.1469)
OKLCHoklch(52.29% 0.214 316.7)
XYZxyz(22.6815, 12.1331, 47.0367)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EB9 #4FB92E
analogous
#522EB9 #982EB9 #B92E95
triadic
#982EB9 #B9982E #2EB998
tetradic
#982EB9 #B9522E #4FB92E #2E95B9
square
#982EB9 #B9522E #4FB92E #2E95B9
split-complementary
#982EB9 #95B92E #2EB952
monochromatic
#471657 #702288 #982EB9 #B551D4 #C982E0

Accessibility & contrast

On white

6.13
#982EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#982EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EB9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EB9#FFFFFF#000000##FFFFFF
##982EB91.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#2F65B6
Tritanopia (blue-blind)
#964C72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982eb9;
/* rgb */ color: rgb(152, 46, 185);
/* oklch */ color: oklch(52.3% 0.214 316.7);
Tailwind
colors: {
  custom: {
    50: '#bb72cf',
    500: '#982eb9',
    950: '#000000',
  },
}
SCSS
$custom: #982eb9;
$custom-light: #bb72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982eb9",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 285.755,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52288,
    "c": 0.21415,
    "h": 316.7
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#982EB9
secondary
#8DC97A
accent
#E3446A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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