#982DBC#982DBC

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

Color values

HEX#982DBC
RGBrgb(152, 45, 188)
HSLhsl(285, 61%, 46%)
HSVhsv(285, 76%, 74%)
CMYKcmyk(19.1%, 76.1%, 0%, 26.3%)
CIE-LABlab(41.51, 63.54, -53.81)
CIE-LCHlch(41.51, 83.26, 319.74°)
OKLaboklab(52.41% 0.1563 -0.1517)
OKLCHoklch(52.41% 0.218 315.9)
XYZxyz(22.9629, 12.1839, 48.7093)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DBC #51BC2D
analogous
#502DBC #982DBC #BC2D98
triadic
#982DBC #BC982D #2DBC98
tetradic
#982DBC #BC502D #51BC2D #2D98BC
square
#982DBC #BC502D #51BC2D #2D98BC
split-complementary
#982DBC #98BC2D #2DBC50
monochromatic
#481559 #70218B #982DBC #B451D5 #C982E1

Accessibility & contrast

On white

6.11
#982DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#982DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DBC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DBC#FFFFFF#000000##FFFFFF
##982DBC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#954D73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982dbc;
/* rgb */ color: rgb(152, 45, 188);
/* oklch */ color: oklch(52.4% 0.218 315.9);
Tailwind
colors: {
  custom: {
    50: '#bb72d1',
    500: '#982dbc',
    950: '#000000',
  },
}
SCSS
$custom: #982dbc;
$custom-light: #bb72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#982dbc",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 284.895,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.21781,
    "h": 315.9
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#982DBC
secondary
#8FCA7B
accent
#E4436C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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