#982E9D#982E9D

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

Color values

HEX#982E9D
RGBrgb(152, 46, 157)
HSLhsl(297, 55%, 40%)
HSVhsv(297, 71%, 62%)
CMYKcmyk(3.2%, 70.7%, 0%, 38.4%)
CIE-LABlab(39.69, 57.41, -38.29)
CIE-LCHlch(39.69, 69.01, 326.30°)
OKLaboklab(50.49% 0.1577 -0.1063)
OKLCHoklch(50.49% 0.19 326)
XYZxyz(20.0113, 11.0650, 32.9735)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E9D #339D2E
analogous
#602E9D #982E9D #9D2E6B
triadic
#982E9D #9D982E #2E9D98
tetradic
#982E9D #9D602E #339D2E #2E6B9D
square
#982E9D #9D602E #339D2E #2E6B9D
split-complementary
#982E9D #6B9D2E #2E9D60
monochromatic
#3C123E #6A206E #982E9D #C141C7 #D170D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982E9D#FFFFFF#000000##FFFFFF
##982E9D1.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)
#1555A0
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#9C4062
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982e9d;
/* rgb */ color: rgb(152, 46, 157);
/* oklch */ color: oklch(50.5% 0.190 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba71ba',
    500: '#982e9d',
    950: '#000000',
  },
}
SCSS
$custom: #982e9d;
$custom-light: #ba71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#982e9d",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 297.297,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.1902,
    "h": 326
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

primary
#982E9D
secondary
#6EBD6A
accent
#DE4A50
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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