#982DB2#982DB2

#982DB2 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.209 H 318.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#982DB2
RGBrgb(152, 45, 178)
HSLhsl(288, 60%, 44%)
HSVhsv(288, 75%, 70%)
CMYKcmyk(14.6%, 74.7%, 0%, 30.2%)
CIE-LABlab(40.84, 61.61, -48.99)
CIE-LCHlch(40.84, 78.71, 321.51°)
OKLaboklab(51.73% 0.1575 -0.1375)
OKLCHoklch(51.73% 0.209 318.9)
XYZxyz(21.9221, 11.7676, 43.2275)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DB2 #47B22D
analogous
#552DB2 #982DB2 #B22D89
triadic
#982DB2 #B2982D #2DB298
tetradic
#982DB2 #B2552D #47B22D #2D89B2
square
#982DB2 #B2552D #47B22D #2D89B2
split-complementary
#982DB2 #89B22D #2DB255
monochromatic
#451450 #6E2181 #982DB2 #B74BD1 #CB7CDE

Accessibility & contrast

On white

6.26
#982DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#982DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DB2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DB2#FFFFFF#000000##FFFFFF
##982DB21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#98486E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982db2;
/* rgb */ color: rgb(152, 45, 178);
/* oklch */ color: oklch(51.7% 0.209 318.9);
Tailwind
colors: {
  custom: {
    50: '#ba71ca',
    500: '#982db2',
    950: '#000000',
  },
}
SCSS
$custom: #982db2;
$custom-light: #ba71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#982db2",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 288.271,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51728,
    "c": 0.20914,
    "h": 318.9
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#982DB2
secondary
#85C675
accent
#E34564
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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