#982BB5#982BB5

#982BB5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.214 H 318.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#982BB5
RGBrgb(152, 43, 181)
HSLhsl(287, 62%, 44%)
HSVhsv(287, 76%, 71%)
CMYKcmyk(16%, 76.2%, 0%, 29%)
CIE-LABlab(40.80, 62.87, -50.83)
CIE-LCHlch(40.80, 80.85, 321.05°)
OKLaboklab(51.76% 0.159 -0.1429)
OKLCHoklch(51.76% 0.214 318)
XYZxyz(22.1521, 11.7404, 44.8064)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BB5 #48B52B
analogous
#532BB5 #982BB5 #B52B8D
triadic
#982BB5 #B5982B #2BB598
tetradic
#982BB5 #B5532B #48B52B #2B8DB5
square
#982BB5 #B5532B #48B52B #2B8DB5
split-complementary
#982BB5 #8DB52B #2BB553
monochromatic
#451452 #6E1F84 #982BB5 #B749D4 #CA7BE0

Accessibility & contrast

On white

6.27
#982BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#982BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BB5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BB5#FFFFFF#000000##FFFFFF
##982BB51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#3163B2
Tritanopia (blue-blind)
#97496F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982bb5;
/* rgb */ color: rgb(152, 43, 181);
/* oklch */ color: oklch(51.8% 0.214 318.0);
Tailwind
colors: {
  custom: {
    50: '#ba71cc',
    500: '#982bb5',
    950: '#000000',
  },
}
SCSS
$custom: #982bb5;
$custom-light: #ba71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#982bb5",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 287.391,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5176,
    "c": 0.2138,
    "h": 318
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#982BB5
secondary
#86C874
accent
#E54365
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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