#982CBA#982CBA

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

Color values

HEX#982CBA
RGBrgb(152, 44, 186)
HSLhsl(286, 62%, 45%)
HSVhsv(286, 76%, 73%)
CMYKcmyk(18.3%, 76.3%, 0%, 27.1%)
CIE-LABlab(41.25, 63.49, -53.05)
CIE-LCHlch(41.25, 82.73, 320.12°)
OKLaboklab(52.19% 0.1575 -0.1494)
OKLCHoklch(52.19% 0.217 316.5)
XYZxyz(22.7111, 12.0229, 47.5692)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CBA #4EBA2C
analogous
#512CBA #982CBA #BA2C95
triadic
#982CBA #BA982C #2CBA98
tetradic
#982CBA #BA512C #4EBA2C #2C95BA
square
#982CBA #BA512C #4EBA2C #2C95BA
split-complementary
#982CBA #95BA2C #2CBA51
monochromatic
#471557 #702089 #982CBA #B54ED5 #CA80E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982CBA#FFFFFF#000000##FFFFFF
##982CBA1.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)
#005BBE
Deuteranopia (green-blind)
#2C64B7
Tritanopia (blue-blind)
#964B72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982cba;
/* rgb */ color: rgb(152, 44, 186);
/* oklch */ color: oklch(52.2% 0.217 316.5);
Tailwind
colors: {
  custom: {
    50: '#bb71cf',
    500: '#982cba',
    950: '#000000',
  },
}
SCSS
$custom: #982cba;
$custom-light: #bb71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982cba",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 285.634,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.21708,
    "h": 316.5
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#982CBA
secondary
#8CCA78
accent
#E5436A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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