#983EB3#983EB3

#983EB3 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.5% C 0.189 H 317.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#983EB3
RGBrgb(152, 62, 179)
HSLhsl(286, 49%, 47%)
HSVhsv(286, 65%, 70%)
CMYKcmyk(15.1%, 65.4%, 0%, 29.8%)
CIE-LABlab(43.32, 54.99, -45.60)
CIE-LCHlch(43.32, 71.44, 320.33°)
OKLaboklab(53.52% 0.1397 -0.1278)
OKLCHoklch(53.52% 0.189 317.5)
XYZxyz(22.8070, 13.3763, 44.0196)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EB3 #59B33E
analogous
#5E3EB3 #983EB3 #B33E94
triadic
#983EB3 #B3983E #3EB398
tetradic
#983EB3 #B35E3E #59B33E #3E94B3
square
#983EB3 #B35E3E #59B33E #3E94B3
split-complementary
#983EB3 #94B33E #3EB35E
monochromatic
#4B1F58 #712E86 #983EB3 #B265CA #C992D9

Accessibility & contrast

On white

5.71
#983EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#983EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EB3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EB3#FFFFFF#000000##FFFFFF
##983EB31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#975373
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983eb3;
/* rgb */ color: rgb(152, 62, 179);
/* oklch */ color: oklch(53.5% 0.189 317.5);
Tailwind
colors: {
  custom: {
    50: '#ba7aca',
    500: '#983eb3',
    950: '#000000',
  },
}
SCSS
$custom: #983eb3;
$custom-light: #ba7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#983eb3",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 286.154,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.18927,
    "h": 317.5
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#983EB3
secondary
#96C588
accent
#D8506F
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #983EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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