#982D9F#982D9F

#982D9F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.193 H 325.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#982D9F
RGBrgb(152, 45, 159)
HSLhsl(296, 56%, 40%)
HSVhsv(296, 72%, 62%)
CMYKcmyk(4.4%, 71.7%, 0%, 37.6%)
CIE-LABlab(39.68, 58.13, -39.52)
CIE-LCHlch(39.68, 70.29, 325.79°)
OKLaboklab(50.52% 0.1587 -0.1099)
OKLCHoklch(50.52% 0.193 325.3)
XYZxyz(20.1448, 11.0567, 33.8673)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D9F #349F2D
analogous
#5F2D9F #982D9F #9F2D6D
triadic
#982D9F #9F982D #2D9F98
tetradic
#982D9F #9F5F2D #349F2D #2D6D9F
square
#982D9F #9F5F2D #349F2D #2D6D9F
split-complementary
#982D9F #6D9F2D #2D9F5F
monochromatic
#3D1240 #6A206F #982D9F #C140C9 #D070D6

Accessibility & contrast

On white

6.54
#982D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#982D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982D9F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D9F#FFFFFF#000000##FFFFFF
##982D9F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E55A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#9C4063
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982d9f;
/* rgb */ color: rgb(152, 45, 159);
/* oklch */ color: oklch(50.5% 0.193 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba70bc',
    500: '#982d9f',
    950: '#000000',
  },
}
SCSS
$custom: #982d9f;
$custom-light: #ba70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#982d9f",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 296.316,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.19303,
    "h": 325.3
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#982D9F
secondary
#6FBE6A
accent
#DF4952
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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