#982CBD#982CBD

#982CBD is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.220 H 315.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#982CBD
RGBrgb(152, 44, 189)
HSLhsl(285, 62%, 46%)
HSVhsv(285, 77%, 74%)
CMYKcmyk(19.6%, 76.7%, 0%, 25.9%)
CIE-LABlab(41.46, 64.07, -54.48)
CIE-LCHlch(41.46, 84.10, 319.63°)
OKLaboklab(52.39% 0.157 -0.1537)
OKLCHoklch(52.39% 0.22 315.6)
XYZxyz(23.0334, 12.1518, 49.2665)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CBD #51BD2C
analogous
#502CBD #982CBD #BD2C99
triadic
#982CBD #BD982C #2CBD98
tetradic
#982CBD #BD502C #51BD2C #2C99BD
square
#982CBD #BD502C #51BD2C #2C99BD
split-complementary
#982CBD #99BD2C #2CBD50
monochromatic
#48155A #70208B #982CBD #B450D6 #C982E2

Accessibility & contrast

On white

6.12
#982CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#982CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CBD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CBD#FFFFFF#000000##FFFFFF
##982CBD1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#954D74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982cbd;
/* rgb */ color: rgb(152, 44, 189);
/* oklch */ color: oklch(52.4% 0.220 315.6);
Tailwind
colors: {
  custom: {
    50: '#bb71d2',
    500: '#982cbd',
    950: '#000000',
  },
}
SCSS
$custom: #982cbd;
$custom-light: #bb71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#982cbd",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 284.69,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.21969,
    "h": 315.6
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#982CBD
secondary
#8FCB7A
accent
#E5426C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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