#982CBC#982CBC

#982CBC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.219 H 315.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#982CBC
RGBrgb(152, 44, 188)
HSLhsl(285, 62%, 45%)
HSVhsv(285, 77%, 74%)
CMYKcmyk(19.1%, 76.6%, 0%, 26.3%)
CIE-LABlab(41.39, 63.88, -54.00)
CIE-LCHlch(41.39, 83.65, 319.79°)
OKLaboklab(52.32% 0.1572 -0.1523)
OKLCHoklch(52.32% 0.219 315.9)
XYZxyz(22.9252, 12.1085, 48.6968)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CBC #50BC2C
analogous
#502CBC #982CBC #BC2C98
triadic
#982CBC #BC982C #2CBC98
tetradic
#982CBC #BC502C #50BC2C #2C98BC
square
#982CBC #BC502C #50BC2C #2C98BC
split-complementary
#982CBC #98BC2C #2CBC50
monochromatic
#481559 #70208A #982CBC #B44FD6 #C981E1

Accessibility & contrast

On white

6.14
#982CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#982CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982CBC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CBC#FFFFFF#000000##FFFFFF
##982CBC1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2964B9
Tritanopia (blue-blind)
#954C73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982cbc;
/* rgb */ color: rgb(152, 44, 188);
/* oklch */ color: oklch(52.3% 0.219 315.9);
Tailwind
colors: {
  custom: {
    50: '#bb71d1',
    500: '#982cbc',
    950: '#000000',
  },
}
SCSS
$custom: #982cbc;
$custom-light: #bb71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#982cbc",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 188
  },
  "hsl": {
    "h": 285,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.21882,
    "h": 315.9
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#982CBC
secondary
#8ECA79
accent
#E5436B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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