#982E97#982E97

#982E97 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.185 H 328.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#982E97
RGBrgb(152, 46, 151)
HSLhsl(301, 54%, 39%)
HSVhsv(301, 70%, 60%)
CMYKcmyk(0%, 69.7%, 0.7%, 40.4%)
CIE-LABlab(39.35, 56.37, -35.20)
CIE-LCHlch(39.35, 66.45, 328.02°)
OKLaboklab(50.14% 0.1576 -0.0973)
OKLCHoklch(50.14% 0.185 328.3)
XYZxyz(19.5116, 10.8651, 30.3417)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982E97 #2E982F
analogous
#642E98 #982E97 #982E62
triadic
#982E97 #97982E #2E9798
tetradic
#982E97 #98642E #2E982F #2E6298
square
#982E97 #98642E #2E982F #2E6298
split-complementary
#982E97 #62982E #2E9864
monochromatic
#3A123A #692068 #982E97 #C53EC3 #D36DD2

Accessibility & contrast

On white

6.62
#982E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#982E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982E97
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982E97#FFFFFF#000000##FFFFFF
##982E971.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#4A6294
Tritanopia (blue-blind)
#9D3D5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982e97;
/* rgb */ color: rgb(152, 46, 151);
/* oklch */ color: oklch(50.1% 0.185 328.3);
Tailwind
colors: {
  custom: {
    50: '#ba71b6',
    500: '#982e97',
    950: '#000000',
  },
}
SCSS
$custom: #982e97;
$custom-light: #ba71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#982e97",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 300.566,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50142,
    "c": 0.18526,
    "h": 328.3
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#982E97
secondary
#68BA68
accent
#DD4C4B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982E97

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

Preview Lab → · Contrast checker → · Palette generator →

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