#983EB5#983EB5

#983EB5 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.191 H 316.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#983EB5
RGBrgb(152, 62, 181)
HSLhsl(285, 49%, 48%)
HSVhsv(285, 66%, 71%)
CMYKcmyk(16%, 65.7%, 0%, 29%)
CIE-LABlab(43.44, 55.40, -46.59)
CIE-LCHlch(43.44, 72.38, 319.94°)
OKLaboklab(53.65% 0.1396 -0.1306)
OKLCHoklch(53.65% 0.191 316.9)
XYZxyz(23.0108, 13.4577, 45.0926)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EB5 #5BB53E
analogous
#5C3EB5 #983EB5 #B53E96
triadic
#983EB5 #B5983E #3EB598
tetradic
#983EB5 #B55C3E #5BB53E #3E96B5
square
#983EB5 #B55C3E #5BB53E #3E96B5
split-complementary
#983EB5 #96B53E #3EB55C
monochromatic
#4B1F5A #722E87 #983EB5 #B266CA #C993DA

Accessibility & contrast

On white

5.69
#983EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#983EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EB5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EB5#FFFFFF#000000##FFFFFF
##983EB51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D61B9
Deuteranopia (green-blind)
#4069B2
Tritanopia (blue-blind)
#975474
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #983eb5;
/* rgb */ color: rgb(152, 62, 181);
/* oklch */ color: oklch(53.6% 0.191 316.9);
Tailwind
colors: {
  custom: {
    50: '#ba7acc',
    500: '#983eb5',
    950: '#000000',
  },
}
SCSS
$custom: #983eb5;
$custom-light: #ba7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#983eb5",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 285.378,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53648,
    "c": 0.19119,
    "h": 316.9
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#983EB5
secondary
#98C589
accent
#D94F71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #983EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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