#982FBB#982FBB

#982FBB is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.215 H 316.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#982FBB
RGBrgb(152, 47, 187)
HSLhsl(285, 60%, 46%)
HSVhsv(285, 75%, 73%)
CMYKcmyk(18.7%, 74.9%, 0%, 26.7%)
CIE-LABlab(41.68, 62.64, -52.94)
CIE-LCHlch(41.68, 82.01, 319.80°)
OKLaboklab(52.51% 0.1547 -0.1491)
OKLCHoklch(52.51% 0.215 316)
XYZxyz(22.9336, 12.2972, 48.1696)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FBB #52BB2F
analogous
#522FBB #982FBB #BB2F98
triadic
#982FBB #BB982F #2FBB98
tetradic
#982FBB #BB522F #52BB2F #2F98BB
square
#982FBB #BB522F #52BB2F #2F98BB
split-complementary
#982FBB #98BB2F #2FBB52
monochromatic
#481659 #70238A #982FBB #B453D4 #C984E0

Accessibility & contrast

On white

6.07
#982FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#982FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FBB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FBB#FFFFFF#000000##FFFFFF
##982FBB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#964D73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982fbb;
/* rgb */ color: rgb(152, 47, 187);
/* oklch */ color: oklch(52.5% 0.215 316.0);
Tailwind
colors: {
  custom: {
    50: '#bb73d0',
    500: '#982fbb',
    950: '#000000',
  },
}
SCSS
$custom: #982fbb;
$custom-light: #bb73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#982fbb",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 285,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52513,
    "c": 0.21485,
    "h": 316
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#982FBB
secondary
#90C97C
accent
#E3456C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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