#982BBD#982BBD

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

Color values

HEX#982BBD
RGBrgb(152, 43, 189)
HSLhsl(285, 63%, 45%)
HSVhsv(285, 77%, 74%)
CMYKcmyk(19.6%, 77.2%, 0%, 25.9%)
CIE-LABlab(41.34, 64.41, -54.67)
CIE-LCHlch(41.34, 84.48, 319.68°)
OKLaboklab(52.31% 0.1579 -0.1542)
OKLCHoklch(52.31% 0.221 315.7)
XYZxyz(22.9966, 12.0782, 49.2542)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BBD #50BD2B
analogous
#4F2BBD #982BBD #BD2B99
triadic
#982BBD #BD982B #2BBD98
tetradic
#982BBD #BD4F2B #50BD2B #2B99BD
square
#982BBD #BD4F2B #50BD2B #2B99BD
split-complementary
#982BBD #99BD2B #2BBD4F
monochromatic
#481459 #70208B #982BBD #B44ED7 #C980E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982BBD#FFFFFF#000000##FFFFFF
##982BBD1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#2764BA
Tritanopia (blue-blind)
#954C73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982bbd;
/* rgb */ color: rgb(152, 43, 189);
/* oklch */ color: oklch(52.3% 0.221 315.7);
Tailwind
colors: {
  custom: {
    50: '#bb71d2',
    500: '#982bbd',
    950: '#000000',
  },
}
SCSS
$custom: #982bbd;
$custom-light: #bb71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#982bbd",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 284.795,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.22067,
    "h": 315.7
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#982BBD
secondary
#8ECB79
accent
#E6426B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #982BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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