#982DB3#982DB3

#982DB3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.210 H 318.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#982DB3
RGBrgb(152, 45, 179)
HSLhsl(288, 60%, 44%)
HSVhsv(288, 75%, 70%)
CMYKcmyk(15.1%, 74.9%, 0%, 29.8%)
CIE-LABlab(40.91, 61.80, -49.47)
CIE-LCHlch(40.91, 79.17, 321.32°)
OKLaboklab(51.8% 0.1574 -0.139)
OKLCHoklch(51.8% 0.21 318.6)
XYZxyz(22.0229, 11.8079, 43.7582)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DB3 #48B32D
analogous
#552DB3 #982DB3 #B32D8B
triadic
#982DB3 #B3982D #2DB398
tetradic
#982DB3 #B3552D #48B32D #2D8BB3
square
#982DB3 #B3552D #48B32D #2D8BB3
split-complementary
#982DB3 #8BB32D #2DB355
monochromatic
#451451 #6E2182 #982DB3 #B74BD2 #CA7CDE

Accessibility & contrast

On white

6.25
#982DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#982DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DB3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DB3#FFFFFF#000000##FFFFFF
##982DB31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#97496E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982db3;
/* rgb */ color: rgb(152, 45, 179);
/* oklch */ color: oklch(51.8% 0.210 318.6);
Tailwind
colors: {
  custom: {
    50: '#ba71ca',
    500: '#982db3',
    950: '#000000',
  },
}
SCSS
$custom: #982db3;
$custom-light: #ba71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#982db3",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 287.91,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.21001,
    "h": 318.6
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#982DB3
secondary
#86C775
accent
#E34565
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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