#983E97#983E97

#983E97 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.9% C 0.163 H 328.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#983E97
RGBrgb(152, 62, 151)
HSLhsl(301, 42%, 42%)
HSVhsv(301, 59%, 60%)
CMYKcmyk(0%, 59.2%, 0.7%, 40.4%)
CIE-LABlab(41.78, 49.63, -31.37)
CIE-LCHlch(41.78, 58.71, 327.70°)
OKLaboklab(51.9% 0.1386 -0.0864)
OKLCHoklch(51.9% 0.163 328)
XYZxyz(20.2572, 12.3563, 30.5902)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983E97 #3E983F
analogous
#6C3E98 #983E97 #983E6A
triadic
#983E97 #97983E #3E9798
tetradic
#983E97 #986C3E #3E983F #3E6A98
square
#983E97 #986C3E #3E983F #3E6A98
split-complementary
#983E97 #6A983E #3E986C
monochromatic
#411B41 #6D2C6C #983E97 #BB58BA #CD84CC

Accessibility & contrast

On white

6.05
#983E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#983E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983E97
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983E97#FFFFFF#000000##FFFFFF
##983E971.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#536794
Tritanopia (blue-blind)
#9D4965
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #983e97;
/* rgb */ color: rgb(152, 62, 151);
/* oklch */ color: oklch(51.9% 0.163 328.0);
Tailwind
colors: {
  custom: {
    50: '#b979b6',
    500: '#983e97',
    950: '#000000',
  },
}
SCSS
$custom: #983e97;
$custom-light: #b979b6;
$custom-dark: #000000;
JSON
{
  "hex": "#983e97",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 300.667,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.16329,
    "h": 328
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#983E97
secondary
#7BB77C
accent
#D25756
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120911
muted
#817B80

Preview Lab

Preview with #983E97

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

Preview Lab → · Contrast checker → · Palette generator →

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