#982FC2#982FC2

#982FC2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.221 H 314.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#982FC2
RGBrgb(152, 47, 194)
HSLhsl(283, 61%, 47%)
HSVhsv(283, 76%, 76%)
CMYKcmyk(21.6%, 75.8%, 0%, 23.9%)
CIE-LABlab(42.16, 64.02, -56.27)
CIE-LCHlch(42.16, 85.23, 318.69°)
OKLaboklab(53% 0.1536 -0.1589)
OKLCHoklch(53% 0.221 314)
XYZxyz(23.7013, 12.6043, 52.2128)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FC2 #59C22F
analogous
#4E2FC2 #982FC2 #C22FA3
triadic
#982FC2 #C2982F #2FC298
tetradic
#982FC2 #C24E2F #59C22F #2FA3C2
square
#982FC2 #C24E2F #59C22F #2FA3C2
split-complementary
#982FC2 #A3C22F #2FC24E
monochromatic
#4B175F #712391 #982FC2 #B258D6 #C989E2

Accessibility & contrast

On white

5.96
#982FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982FC2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FC2#FFFFFF#000000##FFFFFF
##982FC21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#945177
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982fc2;
/* rgb */ color: rgb(152, 47, 194);
/* oklch */ color: oklch(53.0% 0.221 314.0);
Tailwind
colors: {
  custom: {
    50: '#bb73d5',
    500: '#982fc2',
    950: '#000000',
  },
}
SCSS
$custom: #982fc2;
$custom-light: #bb73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#982fc2",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 282.857,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53,
    "c": 0.22105,
    "h": 314
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#982FC2
secondary
#96CC81
accent
#E44472
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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