#982EB7#982EB7

#982EB7 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.212 H 317.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#982EB7
RGBrgb(152, 46, 183)
HSLhsl(286, 60%, 45%)
HSVhsv(286, 75%, 72%)
CMYKcmyk(16.9%, 74.9%, 0%, 28.2%)
CIE-LABlab(41.29, 62.22, -51.21)
CIE-LCHlch(41.29, 80.58, 320.54°)
OKLaboklab(52.15% 0.1561 -0.1441)
OKLCHoklch(52.15% 0.212 317.3)
XYZxyz(22.4719, 12.0493, 45.9326)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EB7 #4DB72E
analogous
#532EB7 #982EB7 #B72E92
triadic
#982EB7 #B7982E #2EB798
tetradic
#982EB7 #B7532E #4DB72E #2E92B7
square
#982EB7 #B7532E #4DB72E #2E92B7
split-complementary
#982EB7 #92B72E #2EB753
monochromatic
#471555 #6F2286 #982EB7 #B54FD3 #CA80DF

Accessibility & contrast

On white

6.16
#982EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#982EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EB7
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EB7#FFFFFF#000000##FFFFFF
##982EB71.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3164B4
Tritanopia (blue-blind)
#974B71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982eb7;
/* rgb */ color: rgb(152, 46, 183);
/* oklch */ color: oklch(52.2% 0.212 317.3);
Tailwind
colors: {
  custom: {
    50: '#ba72cd',
    500: '#982eb7',
    950: '#000000',
  },
}
SCSS
$custom: #982eb7;
$custom-light: #ba72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#982eb7",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 286.423,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.21241,
    "h": 317.3
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#982EB7
secondary
#8BC879
accent
#E34569
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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