#983EC1#983EC1

#983EC1 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.4% C 0.203 H 313.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#983EC1
RGBrgb(152, 62, 193)
HSLhsl(281, 51%, 50%)
HSVhsv(281, 68%, 76%)
CMYKcmyk(21.2%, 67.9%, 0%, 24.3%)
CIE-LABlab(44.19, 57.87, -52.41)
CIE-LCHlch(44.19, 78.08, 317.84°)
OKLaboklab(54.42% 0.1389 -0.1477)
OKLCHoklch(54.42% 0.203 313.2)
XYZxyz(24.2955, 13.9716, 51.8587)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EC1 #67C13E
analogous
#563EC1 #983EC1 #C13EA9
triadic
#983EC1 #C1983E #3EC198
tetradic
#983EC1 #C1563E #67C13E #3EA9C1
square
#983EC1 #C1563E #67C13E #3EA9C1
split-complementary
#983EC1 #A9C13E #3EC156
monochromatic
#4F2064 #742F93 #983EC1 #B16CD0 #C99BDF

Accessibility & contrast

On white

5.53
#983EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#983EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EC1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EC1#FFFFFF#000000##FFFFFF
##983EC11.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#356BBE
Tritanopia (blue-blind)
#94597B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #983ec1;
/* rgb */ color: rgb(152, 62, 193);
/* oklch */ color: oklch(54.4% 0.203 313.2);
Tailwind
colors: {
  custom: {
    50: '#ba7ad4',
    500: '#983ec1',
    950: '#000000',
  },
}
SCSS
$custom: #983ec1;
$custom-light: #ba7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#983ec1",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 281.221,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.20278,
    "h": 313.2
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#983EC1
secondary
#A2CB90
accent
#DB4D79
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #983EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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