#983CB7#983CB7

#983CB7 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.196 H 316.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#983CB7
RGBrgb(152, 60, 183)
HSLhsl(285, 51%, 48%)
HSVhsv(285, 67%, 72%)
CMYKcmyk(16.9%, 67.2%, 0%, 28.2%)
CIE-LABlab(43.25, 56.68, -48.07)
CIE-LCHlch(43.25, 74.32, 319.70°)
OKLaboklab(53.55% 0.1418 -0.135)
OKLCHoklch(53.55% 0.196 316.4)
XYZxyz(23.1107, 13.3269, 46.1455)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983CB7 #5BB73C
analogous
#5A3CB7 #983CB7 #B73C98
triadic
#983CB7 #B7983C #3CB798
tetradic
#983CB7 #B75A3C #5BB73C #3C98B7
square
#983CB7 #B75A3C #5BB73C #3C98B7
split-complementary
#983CB7 #98B73C #3CB75A
monochromatic
#4B1E5B #722D89 #983CB7 #B264CC #C992DB

Accessibility & contrast

On white

5.73
#983CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#983CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983CB7
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983CB7#FFFFFF#000000##FFFFFF
##983CB71.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#3D69B4
Tritanopia (blue-blind)
#965375
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983cb7;
/* rgb */ color: rgb(152, 60, 183);
/* oklch */ color: oklch(53.5% 0.196 316.4);
Tailwind
colors: {
  custom: {
    50: '#ba79cd',
    500: '#983cb7',
    950: '#000000',
  },
}
SCSS
$custom: #983cb7;
$custom-light: #ba79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#983cb7",
  "rgb": {
    "r": 152,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 284.878,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53548,
    "c": 0.19576,
    "h": 316.4
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#983CB7
secondary
#98C688
accent
#DA4E71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #983CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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