#982BBA#982BBA

#982BBA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.218 H 316.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#982BBA
RGBrgb(152, 43, 186)
HSLhsl(286, 62%, 45%)
HSVhsv(286, 77%, 73%)
CMYKcmyk(18.3%, 76.9%, 0%, 27.1%)
CIE-LABlab(41.14, 63.83, -53.24)
CIE-LCHlch(41.14, 83.11, 320.17°)
OKLaboklab(52.1% 0.1583 -0.15)
OKLCHoklch(52.1% 0.218 316.5)
XYZxyz(22.6743, 11.9493, 47.5569)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BBA #4DBA2B
analogous
#502BBA #982BBA #BA2B95
triadic
#982BBA #BA982B #2BBA98
tetradic
#982BBA #BA502B #4DBA2B #2B95BA
square
#982BBA #BA502B #4DBA2B #2B95BA
split-complementary
#982BBA #95BA2B #2BBA50
monochromatic
#471457 #6F2088 #982BBA #B54CD6 #CA7EE1

Accessibility & contrast

On white

6.20
#982BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#982BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BBA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BBA#FFFFFF#000000##FFFFFF
##982BBA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#2B64B7
Tritanopia (blue-blind)
#964B72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #982bba;
/* rgb */ color: rgb(152, 43, 186);
/* oklch */ color: oklch(52.1% 0.218 316.5);
Tailwind
colors: {
  custom: {
    50: '#bb71cf',
    500: '#982bba',
    950: '#000000',
  },
}
SCSS
$custom: #982bba;
$custom-light: #bb71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982bba",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 285.734,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.21809,
    "h": 316.5
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#982BBA
secondary
#8BCA77
accent
#E64269
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #982BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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