#982FB7#982FB7

#982FB7 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.211 H 317.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#982FB7
RGBrgb(152, 47, 183)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 72%)
CMYKcmyk(16.9%, 74.3%, 0%, 28.2%)
CIE-LABlab(41.42, 61.86, -51.01)
CIE-LCHlch(41.42, 80.18, 320.49°)
OKLaboklab(52.24% 0.1551 -0.1435)
OKLCHoklch(52.24% 0.211 317.2)
XYZxyz(22.5114, 12.1283, 45.9458)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB7 #4EB72F
analogous
#542FB7 #982FB7 #B72F92
triadic
#982FB7 #B7982F #2FB798
tetradic
#982FB7 #B7542F #4EB72F #2F92B7
square
#982FB7 #B7542F #4EB72F #2F92B7
split-complementary
#982FB7 #92B72F #2FB754
monochromatic
#471656 #702286 #982FB7 #B551D2 #CA82DF

Accessibility & contrast

On white

6.13
#982FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#982FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FB7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FB7#FFFFFF#000000##FFFFFF
##982FB71.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#974C71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982fb7;
/* rgb */ color: rgb(152, 47, 183);
/* oklch */ color: oklch(52.2% 0.211 317.2);
Tailwind
colors: {
  custom: {
    50: '#ba72cd',
    500: '#982fb7',
    950: '#000000',
  },
}
SCSS
$custom: #982fb7;
$custom-light: #ba72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb7",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 286.324,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.21134,
    "h": 317.2
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#982FB7
secondary
#8CC87A
accent
#E24569
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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