#982F9D#982F9D

#982F9D is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.189 H 326.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#982F9D
RGBrgb(152, 47, 157)
HSLhsl(297, 54%, 40%)
HSVhsv(297, 70%, 62%)
CMYKcmyk(3.2%, 70.1%, 0%, 38.4%)
CIE-LABlab(39.82, 57.03, -38.08)
CIE-LCHlch(39.82, 68.58, 326.27°)
OKLaboklab(50.59% 0.1567 -0.1057)
OKLCHoklch(50.59% 0.189 326)
XYZxyz(20.0508, 11.1441, 32.9867)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F9D #349D2F
analogous
#612F9D #982F9D #9D2F6B
triadic
#982F9D #9D982F #2F9D98
tetradic
#982F9D #9D612F #349D2F #2F6B9D
square
#982F9D #9D612F #349D2F #2F6B9D
split-complementary
#982F9D #6B9D2F #2F9D61
monochromatic
#3D133F #6A216E #982F9D #C143C7 #D072D5

Accessibility & contrast

On white

6.50
#982F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#982F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F9D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F9D#FFFFFF#000000##FFFFFF
##982F9D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#9C4063
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982f9d;
/* rgb */ color: rgb(152, 47, 157);
/* oklch */ color: oklch(50.6% 0.189 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba71ba',
    500: '#982f9d',
    950: '#000000',
  },
}
SCSS
$custom: #982f9d;
$custom-light: #ba71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#982f9d",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 297.273,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.189,
    "h": 326
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#982F9D
secondary
#6FBC6B
accent
#DD4B51
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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