#983799#983799

#983799 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.2% C 0.175 H 327.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#983799
RGBrgb(152, 55, 153)
HSLhsl(299, 47%, 41%)
HSVhsv(299, 64%, 60%)
CMYKcmyk(0.7%, 64.1%, 0%, 40%)
CIE-LABlab(40.75, 53.10, -34.20)
CIE-LCHlch(40.75, 63.16, 327.22°)
OKLaboklab(51.19% 0.1475 -0.0945)
OKLCHoklch(51.19% 0.175 327.3)
XYZxyz(20.0645, 11.7090, 31.3341)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983799 #389937
analogous
#673799 #983799 #993769
triadic
#983799 #999837 #379998
tetradic
#983799 #996737 #389937 #376999
square
#983799 #996737 #389937 #376999
split-complementary
#983799 #699937 #379967
monochromatic
#3F173F #6B276C #983799 #BE4EBF #CF7BD0

Accessibility & contrast

On white

6.28
#983799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#983799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983799
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983799#FFFFFF#000000##FFFFFF
##9837991.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#4E6496
Tritanopia (blue-blind)
#9C4463
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #983799;
/* rgb */ color: rgb(152, 55, 153);
/* oklch */ color: oklch(51.2% 0.175 327.3);
Tailwind
colors: {
  custom: {
    50: '#b975b7',
    500: '#983799',
    950: '#000000',
  },
}
SCSS
$custom: #983799;
$custom-light: #b975b7;
$custom-dark: #000000;
JSON
{
  "hex": "#983799",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 299.388,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.17519,
    "h": 327.3
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#983799
secondary
#74B973
accent
#D75152
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #983799

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

Preview Lab → · Contrast checker → · Palette generator →

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