#982BB6#982BB6

#982BB6 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.215 H 317.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#982BB6
RGBrgb(152, 43, 182)
HSLhsl(287, 62%, 44%)
HSVhsv(287, 76%, 71%)
CMYKcmyk(16.5%, 76.4%, 0%, 28.6%)
CIE-LABlab(40.87, 63.06, -51.31)
CIE-LCHlch(40.87, 81.30, 320.86°)
OKLaboklab(51.83% 0.1589 -0.1444)
OKLCHoklch(51.83% 0.215 317.7)
XYZxyz(22.2551, 11.7816, 45.3487)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BB6 #49B62B
analogous
#522BB6 #982BB6 #B62B8F
triadic
#982BB6 #B6982B #2BB698
tetradic
#982BB6 #B6522B #49B62B #2B8FB6
square
#982BB6 #B6522B #49B62B #2B8FB6
split-complementary
#982BB6 #8FB62B #2BB652
monochromatic
#451453 #6F1F84 #982BB6 #B64AD4 #CA7BE0

Accessibility & contrast

On white

6.26
#982BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#982BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BB6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BB6#FFFFFF#000000##FFFFFF
##982BB61.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#3064B3
Tritanopia (blue-blind)
#97496F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982bb6;
/* rgb */ color: rgb(152, 43, 182);
/* oklch */ color: oklch(51.8% 0.215 317.7);
Tailwind
colors: {
  custom: {
    50: '#bb71cd',
    500: '#982bb6',
    950: '#000000',
  },
}
SCSS
$custom: #982bb6;
$custom-light: #bb71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#982bb6",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 287.05,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51828,
    "c": 0.21465,
    "h": 317.7
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#982BB6
secondary
#87C875
accent
#E54366
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #982BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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