#983DB2#983DB2

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

Color values

HEX#983DB2
RGBrgb(152, 61, 178)
HSLhsl(287, 49%, 47%)
HSVhsv(287, 66%, 70%)
CMYKcmyk(14.6%, 65.7%, 0%, 30.2%)
CIE-LABlab(43.11, 55.24, -45.36)
CIE-LCHlch(43.11, 71.48, 320.61°)
OKLaboklab(53.35% 0.1408 -0.1271)
OKLCHoklch(53.35% 0.19 317.9)
XYZxyz(22.6524, 13.2282, 43.4709)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983DB2 #57B23D
analogous
#5E3DB2 #983DB2 #B23D92
triadic
#983DB2 #B2983D #3DB298
tetradic
#983DB2 #B25E3D #57B23D #3D92B2
square
#983DB2 #B25E3D #57B23D #3D92B2
split-complementary
#983DB2 #92B23D #3DB25E
monochromatic
#4A1E57 #712D84 #983DB2 #B363C9 #C990D9

Accessibility & contrast

On white

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

On black

3.65
#983DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##983DB2#FFFFFF#000000##FFFFFF
##983DB21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B5
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#975272
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983db2;
/* rgb */ color: rgb(152, 61, 178);
/* oklch */ color: oklch(53.3% 0.190 317.9);
Tailwind
colors: {
  custom: {
    50: '#ba79c9',
    500: '#983db2',
    950: '#000000',
  },
}
SCSS
$custom: #983db2;
$custom-light: #ba79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#983db2",
  "rgb": {
    "r": 152,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 286.667,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53345,
    "c": 0.18968,
    "h": 317.9
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#983DB2
secondary
#94C487
accent
#D94F6E
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #983DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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