#982FB5#982FB5

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

Color values

HEX#982FB5
RGBrgb(152, 47, 181)
HSLhsl(287, 59%, 45%)
HSVhsv(287, 74%, 71%)
CMYKcmyk(16%, 74%, 0%, 29%)
CIE-LABlab(41.29, 61.47, -50.04)
CIE-LCHlch(41.29, 79.27, 320.85°)
OKLaboklab(52.11% 0.1554 -0.1407)
OKLCHoklch(52.11% 0.21 317.8)
XYZxyz(22.3047, 12.0456, 44.8572)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB5 #4CB52F
analogous
#552FB5 #982FB5 #B52F8F
triadic
#982FB5 #B5982F #2FB598
tetradic
#982FB5 #B5552F #4CB52F #2F8FB5
square
#982FB5 #B5552F #4CB52F #2F8FB5
split-complementary
#982FB5 #8FB52F #2FB555
monochromatic
#461654 #6F2284 #982FB5 #B550D1 #CA80DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982FB5#FFFFFF#000000##FFFFFF
##982FB51.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)
#005BB9
Deuteranopia (green-blind)
#3465B2
Tritanopia (blue-blind)
#974B70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982fb5;
/* rgb */ color: rgb(152, 47, 181);
/* oklch */ color: oklch(52.1% 0.210 317.8);
Tailwind
colors: {
  custom: {
    50: '#ba72cc',
    500: '#982fb5',
    950: '#000000',
  },
}
SCSS
$custom: #982fb5;
$custom-light: #ba72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb5",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 287.015,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.20959,
    "h": 317.8
  },
  "luminance": 0.12045
}

Semantic roles & 50–950 ramp

primary
#982FB5
secondary
#8AC779
accent
#E24668
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #982FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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