#982FB1#982FB1

#982FB1 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.206 H 319.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#982FB1
RGBrgb(152, 47, 177)
HSLhsl(288, 58%, 44%)
HSVhsv(288, 73%, 69%)
CMYKcmyk(14.1%, 73.4%, 0%, 30.6%)
CIE-LABlab(41.03, 60.71, -48.09)
CIE-LCHlch(41.03, 77.45, 321.61°)
OKLaboklab(51.84% 0.1558 -0.1349)
OKLCHoklch(51.84% 0.206 319.1)
XYZxyz(21.9002, 11.8838, 42.7267)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB1 #48B12F
analogous
#572FB1 #982FB1 #B12F89
triadic
#982FB1 #B1982F #2FB198
tetradic
#982FB1 #B1572F #48B12F #2F89B1
square
#982FB1 #B1572F #48B12F #2F89B1
split-complementary
#982FB1 #89B12F #2FB157
monochromatic
#451550 #6E2281 #982FB1 #B74DD0 #CA7EDD

Accessibility & contrast

On white

6.22
#982FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#982FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FB1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FB1#FFFFFF#000000##FFFFFF
##982FB11.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#98496E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982fb1;
/* rgb */ color: rgb(152, 47, 177);
/* oklch */ color: oklch(51.8% 0.206 319.1);
Tailwind
colors: {
  custom: {
    50: '#ba72c9',
    500: '#982fb1',
    950: '#000000',
  },
}
SCSS
$custom: #982fb1;
$custom-light: #ba72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb1",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 288.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5184,
    "c": 0.20609,
    "h": 319.1
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#982FB1
secondary
#86C576
accent
#E14764
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #982FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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