#982FB9#982FB9

#982FB9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.213 H 316.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#982FB9
RGBrgb(152, 47, 185)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 75%, 73%)
CMYKcmyk(17.8%, 74.6%, 0%, 27.5%)
CIE-LABlab(41.55, 62.25, -51.98)
CIE-LCHlch(41.55, 81.09, 320.14°)
OKLaboklab(52.38% 0.1549 -0.1463)
OKLCHoklch(52.38% 0.213 316.6)
XYZxyz(22.7210, 12.2122, 47.0499)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FB9 #50B92F
analogous
#532FB9 #982FB9 #B92F95
triadic
#982FB9 #B9982F #2FB998
tetradic
#982FB9 #B9532F #50B92F #2F95B9
square
#982FB9 #B9532F #50B92F #2F95B9
split-complementary
#982FB9 #95B92F #2FB953
monochromatic
#481657 #702388 #982FB9 #B452D3 #C983DF

Accessibility & contrast

On white

6.10
#982FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#982FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FB9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FB9#FFFFFF#000000##FFFFFF
##982FB91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#964D72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #982fb9;
/* rgb */ color: rgb(152, 47, 185);
/* oklch */ color: oklch(52.4% 0.213 316.6);
Tailwind
colors: {
  custom: {
    50: '#ba72cf',
    500: '#982fb9',
    950: '#000000',
  },
}
SCSS
$custom: #982fb9;
$custom-light: #ba72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#982fb9",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 285.652,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.21309,
    "h": 316.6
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#982FB9
secondary
#8EC97B
accent
#E3456B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #982FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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