#983BB7#983BB7

#983BB7 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.197 H 316.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#983BB7
RGBrgb(152, 59, 183)
HSLhsl(285, 51%, 47%)
HSVhsv(285, 68%, 72%)
CMYKcmyk(16.9%, 67.8%, 0%, 28.2%)
CIE-LABlab(43.10, 57.11, -48.32)
CIE-LCHlch(43.10, 74.81, 319.77°)
OKLaboklab(53.44% 0.1429 -0.1357)
OKLCHoklch(53.44% 0.197 316.5)
XYZxyz(23.0588, 13.2231, 46.1282)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983BB7 #5AB73B
analogous
#5A3BB7 #983BB7 #B73B98
triadic
#983BB7 #B7983B #3BB798
tetradic
#983BB7 #B75A3B #5AB73B #3B98B7
square
#983BB7 #B75A3B #5AB73B #3B98B7
split-complementary
#983BB7 #98B73B #3BB75A
monochromatic
#4B1D5A #722C89 #983BB7 #B263CD #C991DC

Accessibility & contrast

On white

5.76
#983BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#983BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983BB7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983BB7#FFFFFF#000000##FFFFFF
##983BB71.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3C68B4
Tritanopia (blue-blind)
#965374
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983bb7;
/* rgb */ color: rgb(152, 59, 183);
/* oklch */ color: oklch(53.4% 0.197 316.5);
Tailwind
colors: {
  custom: {
    50: '#ba78cd',
    500: '#983bb7',
    950: '#000000',
  },
}
SCSS
$custom: #983bb7;
$custom-light: #ba78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#983bb7",
  "rgb": {
    "r": 152,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 285,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.19706,
    "h": 316.5
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#983BB7
secondary
#97C687
accent
#DB4D70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #983BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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