#982CC7#982CC7

#982CC7 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.228 H 312.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#982CC7
RGBrgb(152, 44, 199)
HSLhsl(282, 64%, 48%)
HSVhsv(282, 78%, 78%)
CMYKcmyk(23.6%, 77.9%, 0%, 22%)
CIE-LABlab(42.16, 66.04, -59.19)
CIE-LCHlch(42.16, 88.68, 318.13°)
OKLaboklab(53.11% 0.1553 -0.1675)
OKLCHoklch(53.11% 0.228 312.8)
XYZxyz(24.1565, 12.6010, 55.1815)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CC7 #5BC72C
analogous
#4A2CC7 #982CC7 #C72CA9
triadic
#982CC7 #C7982C #2CC798
tetradic
#982CC7 #C74A2C #5BC72C #2CA9C7
square
#982CC7 #C74A2C #5BC72C #2CA9C7
split-complementary
#982CC7 #A9C72C #2CC74A
monochromatic
#4B1663 #722195 #982CC7 #B256DA #C989E5

Accessibility & contrast

On white

5.97
#982CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#982CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CC7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CC7#FFFFFF#000000##FFFFFF
##982CC71.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#1466C4
Tritanopia (blue-blind)
#935179
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982cc7;
/* rgb */ color: rgb(152, 44, 199);
/* oklch */ color: oklch(53.1% 0.228 312.8);
Tailwind
colors: {
  custom: {
    50: '#bb72d9',
    500: '#982cc7',
    950: '#000000',
  },
}
SCSS
$custom: #982cc7;
$custom-light: #bb72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#982cc7",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 281.806,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53108,
    "c": 0.2284,
    "h": 312.8
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#982CC7
secondary
#98CF80
accent
#E74173
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #982CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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