#982FBC#982FBC

#982FBC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.216 H 315.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#982FBC
RGBrgb(152, 47, 188)
HSLhsl(285, 60%, 46%)
HSVhsv(285, 75%, 74%)
CMYKcmyk(19.1%, 75%, 0%, 26.3%)
CIE-LABlab(41.75, 62.83, -53.42)
CIE-LCHlch(41.75, 82.47, 319.63°)
OKLaboklab(52.58% 0.1545 -0.1506)
OKLCHoklch(52.58% 0.216 315.7)
XYZxyz(23.0411, 12.3402, 48.7354)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FBC #53BC2F
analogous
#512FBC #982FBC #BC2F99
triadic
#982FBC #BC982F #2FBC98
tetradic
#982FBC #BC512F #53BC2F #2F99BC
square
#982FBC #BC512F #53BC2F #2F99BC
split-complementary
#982FBC #99BC2F #2FBC51
monochromatic
#49175A #70238B #982FBC #B354D4 #C985E0

Accessibility & contrast

On white

6.06
#982FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#982FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FBC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FBC#FFFFFF#000000##FFFFFF
##982FBC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982fbc;
/* rgb */ color: rgb(152, 47, 188);
/* oklch */ color: oklch(52.6% 0.216 315.7);
Tailwind
colors: {
  custom: {
    50: '#bb73d1',
    500: '#982fbc',
    950: '#000000',
  },
}
SCSS
$custom: #982fbc;
$custom-light: #bb73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#982fbc",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 284.681,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.21574,
    "h": 315.7
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#982FBC
secondary
#91CA7D
accent
#E3456D
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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