#982EB4#982EB4

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

Color values

HEX#982EB4
RGBrgb(152, 46, 180)
HSLhsl(287, 59%, 44%)
HSVhsv(287, 74%, 71%)
CMYKcmyk(15.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(41.10, 61.64, -49.76)
CIE-LCHlch(41.10, 79.22, 321.09°)
OKLaboklab(51.95% 0.1564 -0.1398)
OKLCHoklch(51.95% 0.21 318.2)
XYZxyz(22.1630, 11.9257, 44.3056)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EB4 #4AB42E
analogous
#552EB4 #982EB4 #B42E8D
triadic
#982EB4 #B4982E #2EB498
tetradic
#982EB4 #B4552E #4AB42E #2E8DB4
square
#982EB4 #B4552E #4AB42E #2E8DB4
split-complementary
#982EB4 #8DB42E #2EB455
monochromatic
#461553 #6F2283 #982EB4 #B64ED2 #CA7EDE

Accessibility & contrast

On white

6.20
#982EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#982EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EB4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EB4#FFFFFF#000000##FFFFFF
##982EB41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982eb4;
/* rgb */ color: rgb(152, 46, 180);
/* oklch */ color: oklch(51.9% 0.210 318.2);
Tailwind
colors: {
  custom: {
    50: '#ba72cb',
    500: '#982eb4',
    950: '#000000',
  },
}
SCSS
$custom: #982eb4;
$custom-light: #ba72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#982eb4",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 287.463,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.2098,
    "h": 318.2
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#982EB4
secondary
#88C777
accent
#E24566
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #982EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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