#982ABC#982ABC

#982ABC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.221 H 316.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#982ABC
RGBrgb(152, 42, 188)
HSLhsl(285, 63%, 45%)
HSVhsv(285, 78%, 74%)
CMYKcmyk(19.1%, 77.7%, 0%, 26.3%)
CIE-LABlab(41.16, 64.54, -54.38)
CIE-LCHlch(41.16, 84.39, 319.89°)
OKLaboklab(52.16% 0.1588 -0.1533)
OKLCHoklch(52.16% 0.221 316)
XYZxyz(22.8525, 11.9631, 48.6725)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982ABC #4EBC2A
analogous
#4F2ABC #982ABC #BC2A97
triadic
#982ABC #BC982A #2ABC98
tetradic
#982ABC #BC4F2A #4EBC2A #2A97BC
square
#982ABC #BC4F2A #4EBC2A #2A97BC
split-complementary
#982ABC #97BC2A #2ABC4F
monochromatic
#471458 #701F8A #982ABC #B54CD7 #CA7EE2

Accessibility & contrast

On white

6.19
#982ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#982ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982ABC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982ABC#FFFFFF#000000##FFFFFF
##982ABC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#954B73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982abc;
/* rgb */ color: rgb(152, 42, 188);
/* oklch */ color: oklch(52.2% 0.221 316.0);
Tailwind
colors: {
  custom: {
    50: '#bb70d1',
    500: '#982abc',
    950: '#000000',
  },
}
SCSS
$custom: #982abc;
$custom-light: #bb70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#982abc",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 285.205,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.22078,
    "h": 316
  },
  "luminance": 0.11962
}

Semantic roles & 50–950 ramp

primary
#982ABC
secondary
#8CCB77
accent
#E7416A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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