#982AB5#982AB5

#982AB5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.215 H 318.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#982AB5
RGBrgb(152, 42, 181)
HSLhsl(287, 62%, 44%)
HSVhsv(287, 77%, 71%)
CMYKcmyk(16%, 76.8%, 0%, 29%)
CIE-LABlab(40.68, 63.21, -51.02)
CIE-LCHlch(40.68, 81.23, 321.09°)
OKLaboklab(51.68% 0.1599 -0.1435)
OKLCHoklch(51.68% 0.215 318.1)
XYZxyz(22.1162, 11.6685, 44.7944)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982AB5 #47B52A
analogous
#522AB5 #982AB5 #B52A8C
triadic
#982AB5 #B5982A #2AB598
tetradic
#982AB5 #B5522A #47B52A #2A8CB5
square
#982AB5 #B5522A #47B52A #2A8CB5
split-complementary
#982AB5 #8CB52A #2AB552
monochromatic
#451352 #6E1E83 #982AB5 #B748D4 #CB79E0

Accessibility & contrast

On white

6.30
#982AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#982AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982AB5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982AB5#FFFFFF#000000##FFFFFF
##982AB51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982ab5;
/* rgb */ color: rgb(152, 42, 181);
/* oklch */ color: oklch(51.7% 0.215 318.1);
Tailwind
colors: {
  custom: {
    50: '#bb70cc',
    500: '#982ab5',
    950: '#000000',
  },
}
SCSS
$custom: #982ab5;
$custom-light: #bb70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#982ab5",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 287.482,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.21481,
    "h": 318.1
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#982AB5
secondary
#85C873
accent
#E54264
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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