#982EB3#982EB3

#982EB3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.209 H 318.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#982EB3
RGBrgb(152, 46, 179)
HSLhsl(288, 59%, 44%)
HSVhsv(288, 74%, 70%)
CMYKcmyk(15.1%, 74.3%, 0%, 29.8%)
CIE-LABlab(41.03, 61.45, -49.27)
CIE-LCHlch(41.03, 78.77, 321.28°)
OKLaboklab(51.88% 0.1565 -0.1384)
OKLCHoklch(51.88% 0.209 318.5)
XYZxyz(22.0615, 11.8851, 43.7711)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EB3 #49B32E
analogous
#562EB3 #982EB3 #B32E8C
triadic
#982EB3 #B3982E #2EB398
tetradic
#982EB3 #B3562E #49B32E #2E8CB3
square
#982EB3 #B3562E #49B32E #2E8CB3
split-complementary
#982EB3 #8CB32E #2EB356
monochromatic
#451552 #6F2182 #982EB3 #B64DD1 #CA7EDE

Accessibility & contrast

On white

6.22
#982EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#982EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EB3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EB3#FFFFFF#000000##FFFFFF
##982EB31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982eb3;
/* rgb */ color: rgb(152, 46, 179);
/* oklch */ color: oklch(51.9% 0.209 318.5);
Tailwind
colors: {
  custom: {
    50: '#ba72ca',
    500: '#982eb3',
    950: '#000000',
  },
}
SCSS
$custom: #982eb3;
$custom-light: #ba72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#982eb3",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 287.82,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51883,
    "c": 0.20893,
    "h": 318.5
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#982EB3
secondary
#87C676
accent
#E24665
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #982EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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