#983CB2#983CB2

#983CB2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.2% C 0.191 H 318.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#983CB2
RGBrgb(152, 60, 178)
HSLhsl(287, 50%, 47%)
HSVhsv(287, 66%, 70%)
CMYKcmyk(14.6%, 66.3%, 0%, 30.2%)
CIE-LABlab(42.95, 55.68, -45.62)
CIE-LCHlch(42.95, 71.98, 320.67°)
OKLaboklab(53.23% 0.142 -0.1278)
OKLCHoklch(53.23% 0.191 318)
XYZxyz(22.5995, 13.1224, 43.4533)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983CB2 #56B23C
analogous
#5D3CB2 #983CB2 #B23C91
triadic
#983CB2 #B2983C #3CB298
tetradic
#983CB2 #B25D3C #56B23C #3C91B2
square
#983CB2 #B25D3C #56B23C #3C91B2
split-complementary
#983CB2 #91B23C #3CB25D
monochromatic
#4A1D56 #712D84 #983CB2 #B361CA #C98FD9

Accessibility & contrast

On white

5.79
#983CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#983CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983CB2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983CB2#FFFFFF#000000##FFFFFF
##983CB21.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5FB6
Deuteranopia (green-blind)
#4168AF
Tritanopia (blue-blind)
#975172
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #983cb2;
/* rgb */ color: rgb(152, 60, 178);
/* oklch */ color: oklch(53.2% 0.191 318.0);
Tailwind
colors: {
  custom: {
    50: '#ba79ca',
    500: '#983cb2',
    950: '#000000',
  },
}
SCSS
$custom: #983cb2;
$custom-light: #ba79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#983cb2",
  "rgb": {
    "r": 152,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 286.78,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.19103,
    "h": 318
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #983CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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