#982FB3#982FB3

#982FB3 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.208 H 318.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#982FB3
RGBrgb(152, 47, 179)
HSLhsl(288, 58%, 44%)
HSVhsv(288, 74%, 70%)
CMYKcmyk(15.1%, 73.7%, 0%, 29.8%)
CIE-LABlab(41.16, 61.09, -49.07)
CIE-LCHlch(41.16, 78.36, 321.23°)
OKLaboklab(51.97% 0.1556 -0.1378)
OKLCHoklch(51.97% 0.208 318.5)
XYZxyz(22.1010, 11.9641, 43.7842)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB3 #4AB32F
analogous
#562FB3 #982FB3 #B32F8C
triadic
#982FB3 #B3982F #2FB398
tetradic
#982FB3 #B3562F #4AB32F #2F8CB3
square
#982FB3 #B3562F #4AB32F #2F8CB3
split-complementary
#982FB3 #8CB32F #2FB356
monochromatic
#461652 #6F2283 #982FB3 #B64FD1 #CA7FDD

Accessibility & contrast

On white

6.19
#982FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982FB3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FB3#FFFFFF#000000##FFFFFF
##982FB31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#974A6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982fb3;
/* rgb */ color: rgb(152, 47, 179);
/* oklch */ color: oklch(52.0% 0.208 318.5);
Tailwind
colors: {
  custom: {
    50: '#ba72ca',
    500: '#982fb3',
    950: '#000000',
  },
}
SCSS
$custom: #982fb3;
$custom-light: #ba72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb3",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 287.727,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.20784,
    "h": 318.5
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#982FB3
secondary
#88C678
accent
#E24666
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #982FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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