#982BB7#982BB7

#982BB7 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.216 H 317.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#982BB7
RGBrgb(152, 43, 183)
HSLhsl(287, 62%, 44%)
HSVhsv(287, 77%, 72%)
CMYKcmyk(16.9%, 76.5%, 0%, 28.2%)
CIE-LABlab(40.93, 63.25, -51.80)
CIE-LCHlch(40.93, 81.75, 320.69°)
OKLaboklab(51.9% 0.1587 -0.1458)
OKLCHoklch(51.9% 0.216 317.4)
XYZxyz(22.3588, 11.8230, 45.8949)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BB7 #4AB72B
analogous
#522BB7 #982BB7 #B72B90
triadic
#982BB7 #B7982B #2BB798
tetradic
#982BB7 #B7522B #4AB72B #2B90B7
square
#982BB7 #B7522B #4AB72B #2B90B7
split-complementary
#982BB7 #90B72B #2BB752
monochromatic
#461454 #6F1F85 #982BB7 #B64BD5 #CA7CE0

Accessibility & contrast

On white

6.24
#982BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#982BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BB7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BB7#FFFFFF#000000##FFFFFF
##982BB71.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2F64B4
Tritanopia (blue-blind)
#974A70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982bb7;
/* rgb */ color: rgb(152, 43, 183);
/* oklch */ color: oklch(51.9% 0.216 317.4);
Tailwind
colors: {
  custom: {
    50: '#bb71cd',
    500: '#982bb7',
    950: '#000000',
  },
}
SCSS
$custom: #982bb7;
$custom-light: #bb71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#982bb7",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 286.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.21552,
    "h": 317.4
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#982BB7
secondary
#88C975
accent
#E54367
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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