#982BCA#982BCA

#982BCA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.232 H 312.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#982BCA
RGBrgb(152, 43, 202)
HSLhsl(281, 65%, 48%)
HSVhsv(281, 79%, 79%)
CMYKcmyk(24.8%, 78.7%, 0%, 20.8%)
CIE-LABlab(42.26, 66.97, -60.76)
CIE-LCHlch(42.26, 90.43, 317.78°)
OKLaboklab(53.25% 0.1555 -0.1721)
OKLCHoklch(53.25% 0.232 312.1)
XYZxyz(24.4715, 12.6681, 57.0218)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BCA #5DCA2B
analogous
#482BCA #982BCA #CA2BAC
triadic
#982BCA #CA982B #2BCA98
tetradic
#982BCA #CA482B #5DCA2B #2BACCA
square
#982BCA #CA482B #5DCA2B #2BACCA
split-complementary
#982BCA #ACCA2B #2BCA48
monochromatic
#4C1665 #722098 #982BCA #B257DB #C989E6

Accessibility & contrast

On white

5.94
#982BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#982BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BCA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BCA#FFFFFF#000000##FFFFFF
##982BCA1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0566C7
Tritanopia (blue-blind)
#92527B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #982bca;
/* rgb */ color: rgb(152, 43, 202);
/* oklch */ color: oklch(53.2% 0.232 312.1);
Tailwind
colors: {
  custom: {
    50: '#bb72db',
    500: '#982bca',
    950: '#000000',
  },
}
SCSS
$custom: #982bca;
$custom-light: #bb72db;
$custom-dark: #000000;
JSON
{
  "hex": "#982bca",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 281.132,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.23195,
    "h": 312.1
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#982BCA
secondary
#9AD081
accent
#E84075
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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