#982BBC#982BBC

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

Color values

HEX#982BBC
RGBrgb(152, 43, 188)
HSLhsl(285, 63%, 45%)
HSVhsv(285, 77%, 74%)
CMYKcmyk(19.1%, 77.1%, 0%, 26.3%)
CIE-LABlab(41.27, 64.21, -54.19)
CIE-LCHlch(41.27, 84.02, 319.84°)
OKLaboklab(52.24% 0.158 -0.1528)
OKLCHoklch(52.24% 0.22 316)
XYZxyz(22.8884, 12.0349, 48.6845)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BBC #4FBC2B
analogous
#4F2BBC #982BBC #BC2B98
triadic
#982BBC #BC982B #2BBC98
tetradic
#982BBC #BC4F2B #4FBC2B #2B98BC
square
#982BBC #BC4F2B #4FBC2B #2B98BC
split-complementary
#982BBC #98BC2B #2BBC4F
monochromatic
#471458 #70208A #982BBC #B54ED6 #C980E2

Accessibility & contrast

On white

6.16
#982BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#982BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BBC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BBC#FFFFFF#000000##FFFFFF
##982BBC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982bbc;
/* rgb */ color: rgb(152, 43, 188);
/* oklch */ color: oklch(52.2% 0.220 316.0);
Tailwind
colors: {
  custom: {
    50: '#bb71d1',
    500: '#982bbc',
    950: '#000000',
  },
}
SCSS
$custom: #982bbc;
$custom-light: #bb71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#982bbc",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 285.103,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52242,
    "c": 0.21981,
    "h": 316
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#982BBC
secondary
#8DCB78
accent
#E6426B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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