#982DB4#982DB4

#982DB4 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.211 H 318.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#982DB4
RGBrgb(152, 45, 180)
HSLhsl(288, 60%, 44%)
HSVhsv(288, 75%, 71%)
CMYKcmyk(15.6%, 75%, 0%, 29.4%)
CIE-LABlab(40.97, 61.99, -49.96)
CIE-LCHlch(40.97, 79.62, 321.14°)
OKLaboklab(51.86% 0.1573 -0.1404)
OKLCHoklch(51.86% 0.211 318.3)
XYZxyz(22.1244, 11.8485, 44.2928)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DB4 #49B42D
analogous
#552DB4 #982DB4 #B42D8D
triadic
#982DB4 #B4982D #2DB498
tetradic
#982DB4 #B4552D #49B42D #2D8DB4
square
#982DB4 #B4552D #49B42D #2D8DB4
split-complementary
#982DB4 #8DB42D #2DB455
monochromatic
#451552 #6F2183 #982DB4 #B64CD2 #CA7DDE

Accessibility & contrast

On white

6.23
#982DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#982DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DB4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DB4#FFFFFF#000000##FFFFFF
##982DB41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#97496F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982db4;
/* rgb */ color: rgb(152, 45, 180);
/* oklch */ color: oklch(51.9% 0.211 318.3);
Tailwind
colors: {
  custom: {
    50: '#ba71cb',
    500: '#982db4',
    950: '#000000',
  },
}
SCSS
$custom: #982db4;
$custom-light: #ba71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#982db4",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 287.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.21087,
    "h": 318.3
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#982DB4
secondary
#87C776
accent
#E34566
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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