#982CBB#982CBB

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

Color values

HEX#982CBB
RGBrgb(152, 44, 187)
HSLhsl(285, 62%, 45%)
HSVhsv(285, 76%, 73%)
CMYKcmyk(18.7%, 76.5%, 0%, 26.7%)
CIE-LABlab(41.32, 63.68, -53.53)
CIE-LCHlch(41.32, 83.19, 319.95°)
OKLaboklab(52.26% 0.1573 -0.1509)
OKLCHoklch(52.26% 0.218 316.2)
XYZxyz(22.8178, 12.0655, 48.1310)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982CBB #4FBB2C
analogous
#512CBB #982CBB #BB2C96
triadic
#982CBB #BB982C #2CBB98
tetradic
#982CBB #BB512C #4FBB2C #2C96BB
square
#982CBB #BB512C #4FBB2C #2C96BB
split-complementary
#982CBB #96BB2C #2CBB51
monochromatic
#471558 #702089 #982CBB #B54FD6 #C980E1

Accessibility & contrast

On white

6.15
#982CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982CBB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982CBB#FFFFFF#000000##FFFFFF
##982CBB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#2B64B8
Tritanopia (blue-blind)
#964C73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982cbb;
/* rgb */ color: rgb(152, 44, 187);
/* oklch */ color: oklch(52.3% 0.218 316.2);
Tailwind
colors: {
  custom: {
    50: '#bb71d0',
    500: '#982cbb',
    950: '#000000',
  },
}
SCSS
$custom: #982cbb;
$custom-light: #bb71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#982cbb",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 285.315,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.21796,
    "h": 316.2
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#982CBB
secondary
#8DCA79
accent
#E5436B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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