#983FB9#983FB9

#983FB9 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.194 H 315.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#983FB9
RGBrgb(152, 63, 185)
HSLhsl(284, 49%, 49%)
HSVhsv(284, 66%, 73%)
CMYKcmyk(17.8%, 65.9%, 0%, 27.5%)
CIE-LABlab(43.85, 55.77, -48.29)
CIE-LCHlch(43.85, 73.77, 319.11°)
OKLaboklab(54.02% 0.1383 -0.1356)
OKLCHoklch(54.02% 0.194 315.6)
XYZxyz(23.4820, 13.7340, 47.3035)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FB9 #60B93F
analogous
#5B3FB9 #983FB9 #B93F9D
triadic
#983FB9 #B9983F #3FB998
tetradic
#983FB9 #B95B3F #60B93F #3F9DB9
square
#983FB9 #B95B3F #60B93F #3F9DB9
split-complementary
#983FB9 #9DB93F #3FB95B
monochromatic
#4D205E #722F8B #983FB9 #B169CC #C997DC

Accessibility & contrast

On white

5.61
#983FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#983FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FB9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FB9#FFFFFF#000000##FFFFFF
##983FB91.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BD
Deuteranopia (green-blind)
#3E6AB6
Tritanopia (blue-blind)
#965677
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #983fb9;
/* rgb */ color: rgb(152, 63, 185);
/* oklch */ color: oklch(54.0% 0.194 315.6);
Tailwind
colors: {
  custom: {
    50: '#ba7acf',
    500: '#983fb9',
    950: '#000000',
  },
}
SCSS
$custom: #983fb9;
$custom-light: #ba7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#983fb9",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 283.77,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.19371,
    "h": 315.6
  },
  "luminance": 0.13733
}

Semantic roles & 50–950 ramp

primary
#983FB9
secondary
#9CC78D
accent
#D94F74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #983FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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