#983DB1#983DB1

#983DB1 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.3% C 0.189 H 318.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#983DB1
RGBrgb(152, 61, 177)
HSLhsl(287, 49%, 47%)
HSVhsv(287, 66%, 69%)
CMYKcmyk(14.1%, 65.5%, 0%, 30.6%)
CIE-LABlab(43.05, 55.04, -44.87)
CIE-LCHlch(43.05, 71.01, 320.81°)
OKLaboklab(53.28% 0.1409 -0.1256)
OKLCHoklch(53.28% 0.189 318.3)
XYZxyz(22.5524, 13.1882, 42.9441)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983DB1 #56B13D
analogous
#5E3DB1 #983DB1 #B13D90
triadic
#983DB1 #B1983D #3DB198
tetradic
#983DB1 #B15E3D #56B13D #3D90B1
square
#983DB1 #B15E3D #56B13D #3D90B1
split-complementary
#983DB1 #90B13D #3DB15E
monochromatic
#4A1E56 #712D83 #983DB1 #B362C9 #C990D9

Accessibility & contrast

On white

5.77
#983DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #983DB1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983DB1#FFFFFF#000000##FFFFFF
##983DB11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B4
Deuteranopia (green-blind)
#4269AE
Tritanopia (blue-blind)
#985272
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983db1;
/* rgb */ color: rgb(152, 61, 177);
/* oklch */ color: oklch(53.3% 0.189 318.3);
Tailwind
colors: {
  custom: {
    50: '#ba79c9',
    500: '#983db1',
    950: '#000000',
  },
}
SCSS
$custom: #983db1;
$custom-light: #ba79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#983db1",
  "rgb": {
    "r": 152,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 287.069,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53283,
    "c": 0.18873,
    "h": 318.3
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#983DB1
secondary
#93C486
accent
#D8506D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #983DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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