#982FC1#982FC1

#982FC1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.220 H 314.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#982FC1
RGBrgb(152, 47, 193)
HSLhsl(283, 61%, 47%)
HSVhsv(283, 76%, 76%)
CMYKcmyk(21.2%, 75.6%, 0%, 24.3%)
CIE-LABlab(42.09, 63.82, -55.79)
CIE-LCHlch(42.09, 84.77, 318.84°)
OKLaboklab(52.93% 0.1538 -0.1575)
OKLCHoklch(52.93% 0.22 314.3)
XYZxyz(23.5894, 12.5595, 51.6234)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FC1 #58C12F
analogous
#4F2FC1 #982FC1 #C12FA1
triadic
#982FC1 #C1982F #2FC198
tetradic
#982FC1 #C14F2F #58C12F #2FA1C1
square
#982FC1 #C14F2F #58C12F #2FA1C1
split-complementary
#982FC1 #A1C12F #2FC14F
monochromatic
#4A175F #712390 #982FC1 #B257D6 #C988E2

Accessibility & contrast

On white

5.98
#982FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#982FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FC1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FC1#FFFFFF#000000##FFFFFF
##982FC11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2566BE
Tritanopia (blue-blind)
#945077
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982fc1;
/* rgb */ color: rgb(152, 47, 193);
/* oklch */ color: oklch(52.9% 0.220 314.3);
Tailwind
colors: {
  custom: {
    50: '#bb73d4',
    500: '#982fc1',
    950: '#000000',
  },
}
SCSS
$custom: #982fc1;
$custom-light: #bb73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#982fc1",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 283.151,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5293,
    "c": 0.22016,
    "h": 314.3
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#982FC1
secondary
#95CC80
accent
#E44471
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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