#983797#983797

#983797 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.173 H 328.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#983797
RGBrgb(152, 55, 151)
HSLhsl(301, 47%, 41%)
HSVhsv(301, 64%, 60%)
CMYKcmyk(0%, 63.8%, 0.7%, 40.4%)
CIE-LABlab(40.64, 52.75, -33.16)
CIE-LCHlch(40.64, 62.30, 327.85°)
OKLaboklab(51.08% 0.1474 -0.0915)
OKLCHoklch(51.08% 0.173 328.2)
XYZxyz(19.9007, 11.6435, 30.4714)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983797 #379838
analogous
#693798 #983797 #983766
triadic
#983797 #979837 #379798
tetradic
#983797 #986937 #379838 #376698
square
#983797 #986937 #379838 #376698
split-complementary
#983797 #669837 #379869
monochromatic
#3E163E #6B276A #983797 #BF4DBE #CF7ACE

Accessibility & contrast

On white

6.31
#983797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#983797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983797
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983797#FFFFFF#000000##FFFFFF
##9837971.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589A
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#9D4362
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #983797;
/* rgb */ color: rgb(152, 55, 151);
/* oklch */ color: oklch(51.1% 0.173 328.2);
Tailwind
colors: {
  custom: {
    50: '#b975b6',
    500: '#983797',
    950: '#000000',
  },
}
SCSS
$custom: #983797;
$custom-light: #b975b6;
$custom-dark: #000000;
JSON
{
  "hex": "#983797",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 300.619,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.17348,
    "h": 328.2
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#983797
secondary
#73B873
accent
#D65351
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #983797

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

Preview Lab → · Contrast checker → · Palette generator →

#983797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva