#982E9B#982E9B

#982E9B is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 326.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#982E9B
RGBrgb(152, 46, 155)
HSLhsl(298, 54%, 39%)
HSVhsv(298, 70%, 61%)
CMYKcmyk(1.9%, 70.3%, 0%, 39.2%)
CIE-LABlab(39.58, 57.06, -37.26)
CIE-LCHlch(39.58, 68.15, 326.85°)
OKLaboklab(50.38% 0.1577 -0.1033)
OKLCHoklch(50.38% 0.189 326.8)
XYZxyz(19.8419, 10.9973, 32.0816)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E9B #319B2E
analogous
#622E9B #982E9B #9B2E67
triadic
#982E9B #9B982E #2E9B98
tetradic
#982E9B #9B622E #319B2E #2E679B
square
#982E9B #9B622E #319B2E #2E679B
split-complementary
#982E9B #679B2E #2E9B62
monochromatic
#3B123D #6A206C #982E9B #C340C6 #D26FD4

Accessibility & contrast

On white

6.56
#982E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#982E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E9B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E9B#FFFFFF#000000##FFFFFF
##982E9B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559E
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#9C3F61
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982e9b;
/* rgb */ color: rgb(152, 46, 155);
/* oklch */ color: oklch(50.4% 0.189 326.8);
Tailwind
colors: {
  custom: {
    50: '#ba71b9',
    500: '#982e9b',
    950: '#000000',
  },
}
SCSS
$custom: #982e9b;
$custom-light: #ba71b9;
$custom-dark: #000000;
JSON
{
  "hex": "#982e9b",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 298.349,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50375,
    "c": 0.18855,
    "h": 326.8
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#982E9B
secondary
#6BBC69
accent
#DE4A4E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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