#982ACA#982ACA

#982ACA is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.233 H 312.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#982ACA
RGBrgb(152, 42, 202)
HSLhsl(281, 66%, 48%)
HSVhsv(281, 79%, 79%)
CMYKcmyk(24.8%, 79.2%, 0%, 20.8%)
CIE-LABlab(42.15, 67.29, -60.94)
CIE-LCHlch(42.15, 90.78, 317.83°)
OKLaboklab(53.17% 0.1563 -0.1726)
OKLCHoklch(53.17% 0.233 312.2)
XYZxyz(24.4356, 12.5963, 57.0098)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982ACA #5CCA2A
analogous
#482ACA #982ACA #CA2AAC
triadic
#982ACA #CA982A #2ACA98
tetradic
#982ACA #CA482A #5CCA2A #2AACCA
square
#982ACA #CA482A #5CCA2A #2AACCA
split-complementary
#982ACA #ACCA2A #2ACA48
monochromatic
#4C1565 #721F97 #982ACA #B255DC #C988E6

Accessibility & contrast

On white

5.97
#982ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982ACA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982ACA#FFFFFF#000000##FFFFFF
##982ACA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0266C7
Tritanopia (blue-blind)
#92527B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982aca;
/* rgb */ color: rgb(152, 42, 202);
/* oklch */ color: oklch(53.2% 0.233 312.2);
Tailwind
colors: {
  custom: {
    50: '#bb71db',
    500: '#982aca',
    950: '#000000',
  },
}
SCSS
$custom: #982aca;
$custom-light: #bb71db;
$custom-dark: #000000;
JSON
{
  "hex": "#982aca",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 281.25,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.23285,
    "h": 312.2
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#982ACA
secondary
#99D080
accent
#E93F74
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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