#983BB2#983BB2

#983BB2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.192 H 318.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#983BB2
RGBrgb(152, 59, 178)
HSLhsl(287, 50%, 46%)
HSVhsv(287, 67%, 70%)
CMYKcmyk(14.6%, 66.9%, 0%, 30.2%)
CIE-LABlab(42.79, 56.11, -45.86)
CIE-LCHlch(42.79, 72.47, 320.74°)
OKLaboklab(53.12% 0.1431 -0.1285)
OKLCHoklch(53.12% 0.192 318.1)
XYZxyz(22.5476, 13.0186, 43.4360)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983BB2 #55B23B
analogous
#5D3BB2 #983BB2 #B23B91
triadic
#983BB2 #B2983B #3BB298
tetradic
#983BB2 #B25D3B #55B23B #3B91B2
square
#983BB2 #B25D3B #55B23B #3B91B2
split-complementary
#983BB2 #91B23B #3BB25D
monochromatic
#4A1D56 #712C84 #983BB2 #B360CA #C98EDA

Accessibility & contrast

On white

5.83
#983BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#983BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983BB2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983BB2#FFFFFF#000000##FFFFFF
##983BB21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095FB6
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#975172
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #983bb2;
/* rgb */ color: rgb(152, 59, 178);
/* oklch */ color: oklch(53.1% 0.192 318.1);
Tailwind
colors: {
  custom: {
    50: '#ba78ca',
    500: '#983bb2',
    950: '#000000',
  },
}
SCSS
$custom: #983bb2;
$custom-light: #ba78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#983bb2",
  "rgb": {
    "r": 152,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 286.891,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.19236,
    "h": 318.1
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#983BB2
secondary
#92C485
accent
#DA4E6D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #983BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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