#982FB4#982FB4

#982FB4 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.209 H 318.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#982FB4
RGBrgb(152, 47, 180)
HSLhsl(287, 59%, 45%)
HSVhsv(287, 74%, 71%)
CMYKcmyk(15.6%, 73.9%, 0%, 29.4%)
CIE-LABlab(41.22, 61.28, -49.56)
CIE-LCHlch(41.22, 78.81, 321.04°)
OKLaboklab(52.04% 0.1555 -0.1392)
OKLCHoklch(52.04% 0.209 318.2)
XYZxyz(22.2025, 12.0047, 44.3188)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB4 #4BB42F
analogous
#552FB4 #982FB4 #B42F8E
triadic
#982FB4 #B4982F #2FB498
tetradic
#982FB4 #B4552F #4BB42F #2F8EB4
square
#982FB4 #B4552F #4BB42F #2F8EB4
split-complementary
#982FB4 #8EB42F #2FB455
monochromatic
#461653 #6F2283 #982FB4 #B64FD1 #CA80DE

Accessibility & contrast

On white

6.18
#982FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#982FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FB4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FB4#FFFFFF#000000##FFFFFF
##982FB41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3564B1
Tritanopia (blue-blind)
#974A6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982fb4;
/* rgb */ color: rgb(152, 47, 180);
/* oklch */ color: oklch(52.0% 0.209 318.2);
Tailwind
colors: {
  custom: {
    50: '#ba72cb',
    500: '#982fb4',
    950: '#000000',
  },
}
SCSS
$custom: #982fb4;
$custom-light: #ba72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb4",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 287.368,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.20871,
    "h": 318.2
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#982FB4
secondary
#89C778
accent
#E24667
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #982FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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