#982FC7#982FC7

#982FC7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.225 H 312.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#982FC7
RGBrgb(152, 47, 199)
HSLhsl(281, 62%, 48%)
HSVhsv(281, 76%, 78%)
CMYKcmyk(23.6%, 76.4%, 0%, 22%)
CIE-LABlab(42.51, 65.02, -58.61)
CIE-LCHlch(42.51, 87.54, 317.97°)
OKLaboklab(53.36% 0.1528 -0.1658)
OKLCHoklch(53.36% 0.225 312.7)
XYZxyz(24.2723, 12.8327, 55.2201)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FC7 #5EC72F
analogous
#4C2FC7 #982FC7 #C72FAA
triadic
#982FC7 #C7982F #2FC798
tetradic
#982FC7 #C74C2F #5EC72F #2FAAC7
square
#982FC7 #C74C2F #5EC72F #2FAAC7
split-complementary
#982FC7 #AAC72F #2FC74C
monochromatic
#4C1864 #722395 #982FC7 #B25BD8 #C98CE4

Accessibility & contrast

On white

5.89
#982FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#982FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FC7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FC7#FFFFFF#000000##FFFFFF
##982FC71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#1966C4
Tritanopia (blue-blind)
#93537A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #982fc7;
/* rgb */ color: rgb(152, 47, 199);
/* oklch */ color: oklch(53.4% 0.225 312.7);
Tailwind
colors: {
  custom: {
    50: '#bb73d9',
    500: '#982fc7',
    950: '#000000',
  },
}
SCSS
$custom: #982fc7;
$custom-light: #bb73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#982fc7",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 199
  },
  "hsl": {
    "h": 281.447,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.22548,
    "h": 312.7
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#982FC7
secondary
#9BCE84
accent
#E54375
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #982FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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