#982ABD#982ABD

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

Color values

HEX#982ABD
RGBrgb(152, 42, 189)
HSLhsl(285, 64%, 45%)
HSVhsv(285, 78%, 74%)
CMYKcmyk(19.6%, 77.8%, 0%, 25.9%)
CIE-LABlab(41.23, 64.74, -54.85)
CIE-LCHlch(41.23, 84.85, 319.73°)
OKLaboklab(52.23% 0.1587 -0.1547)
OKLCHoklch(52.23% 0.222 315.7)
XYZxyz(22.9607, 12.0064, 49.2422)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982ABD #4FBD2A
analogous
#4F2ABD #982ABD #BD2A98
triadic
#982ABD #BD982A #2ABD98
tetradic
#982ABD #BD4F2A #4FBD2A #2A98BD
square
#982ABD #BD4F2A #4FBD2A #2A98BD
split-complementary
#982ABD #98BD2A #2ABD4F
monochromatic
#471459 #701F8B #982ABD #B54DD7 #C97FE3

Accessibility & contrast

On white

6.17
#982ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#982ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982ABD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982ABD#FFFFFF#000000##FFFFFF
##982ABD1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2664BA
Tritanopia (blue-blind)
#954C73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982abd;
/* rgb */ color: rgb(152, 42, 189);
/* oklch */ color: oklch(52.2% 0.222 315.7);
Tailwind
colors: {
  custom: {
    50: '#bb70d2',
    500: '#982abd',
    950: '#000000',
  },
}
SCSS
$custom: #982abd;
$custom-light: #bb70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#982abd",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 284.898,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.22164,
    "h": 315.7
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#982ABD
secondary
#8DCB78
accent
#E7416B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #982ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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