#982FC6#982FC6

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

Color values

HEX#982FC6
RGBrgb(152, 47, 198)
HSLhsl(282, 62%, 48%)
HSVhsv(282, 76%, 78%)
CMYKcmyk(23.2%, 76.3%, 0%, 22.4%)
CIE-LABlab(42.44, 64.82, -58.15)
CIE-LCHlch(42.44, 87.08, 318.11°)
OKLaboklab(53.29% 0.153 -0.1645)
OKLCHoklch(53.29% 0.225 312.9)
XYZxyz(24.1566, 12.7864, 54.6106)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FC6 #5DC62F
analogous
#4C2FC6 #982FC6 #C62FA8
triadic
#982FC6 #C6982F #2FC698
tetradic
#982FC6 #C64C2F #5DC62F #2FA8C6
square
#982FC6 #C64C2F #5DC62F #2FA8C6
split-complementary
#982FC6 #A8C62F #2FC64C
monochromatic
#4C1863 #722395 #982FC6 #B25AD8 #C98CE4

Accessibility & contrast

On white

5.90
#982FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#982FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FC6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FC6#FFFFFF#000000##FFFFFF
##982FC61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#1B66C3
Tritanopia (blue-blind)
#935279
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #982fc6;
/* rgb */ color: rgb(152, 47, 198);
/* oklch */ color: oklch(53.3% 0.225 312.9);
Tailwind
colors: {
  custom: {
    50: '#bb73d8',
    500: '#982fc6',
    950: '#000000',
  },
}
SCSS
$custom: #982fc6;
$custom-light: #bb73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#982fc6",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 281.722,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53285,
    "c": 0.2246,
    "h": 312.9
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#982FC6
secondary
#9ACE83
accent
#E54374
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #982FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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