#982EB0#982EB0

#982EB0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.206 H 319.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#982EB0
RGBrgb(152, 46, 176)
HSLhsl(289, 59%, 44%)
HSVhsv(289, 74%, 69%)
CMYKcmyk(13.6%, 73.9%, 0%, 31%)
CIE-LABlab(40.84, 60.88, -47.81)
CIE-LCHlch(40.84, 77.41, 321.86°)
OKLaboklab(51.68% 0.1568 -0.1341)
OKLCHoklch(51.68% 0.206 319.5)
XYZxyz(21.7614, 11.7651, 42.1905)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982EB0 #46B02E
analogous
#572EB0 #982EB0 #B02E87
triadic
#982EB0 #B0982E #2EB098
tetradic
#982EB0 #B0572E #46B02E #2E87B0
square
#982EB0 #B0572E #46B02E #2E87B0
split-complementary
#982EB0 #87B02E #2EB057
monochromatic
#44154F #6E217F #982EB0 #B74BD0 #CB7CDD

Accessibility & contrast

On white

6.26
#982EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#982EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982EB0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982EB0#FFFFFF#000000##FFFFFF
##982EB01.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#3864AD
Tritanopia (blue-blind)
#98486D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982eb0;
/* rgb */ color: rgb(152, 46, 176);
/* oklch */ color: oklch(51.7% 0.206 319.5);
Tailwind
colors: {
  custom: {
    50: '#ba72c8',
    500: '#982eb0',
    950: '#000000',
  },
}
SCSS
$custom: #982eb0;
$custom-light: #ba72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#982eb0",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 288.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.20634,
    "h": 319.5
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#982EB0
secondary
#84C575
accent
#E24663
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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