#983FA1#983FA1

#983FA1 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.6% C 0.171 H 323.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#983FA1
RGBrgb(152, 63, 161)
HSLhsl(294, 44%, 44%)
HSVhsv(294, 61%, 63%)
CMYKcmyk(5.6%, 60.9%, 0%, 36.9%)
CIE-LABlab(42.47, 51.02, -36.29)
CIE-LCHlch(42.47, 62.60, 324.58°)
OKLaboklab(52.57% 0.1381 -0.1006)
OKLCHoklch(52.57% 0.171 323.9)
XYZxyz(21.1588, 12.8048, 35.0684)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FA1 #48A13F
analogous
#673FA1 #983FA1 #A13F79
triadic
#983FA1 #A1983F #3FA198
tetradic
#983FA1 #A1673F #48A13F #3F79A1
square
#983FA1 #A1673F #48A13F #3F79A1
split-complementary
#983FA1 #79A13F #3FA167
monochromatic
#451D49 #6E2E75 #983FA1 #B75DC0 #CA89D1

Accessibility & contrast

On white

5.90
#983FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#983FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FA1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FA1#FFFFFF#000000##FFFFFF
##983FA11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5DA4
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#9B4D6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #983fa1;
/* rgb */ color: rgb(152, 63, 161);
/* oklch */ color: oklch(52.6% 0.171 323.9);
Tailwind
colors: {
  custom: {
    50: '#b97abd',
    500: '#983fa1',
    950: '#000000',
  },
}
SCSS
$custom: #983fa1;
$custom-light: #b97abd;
$custom-dark: #000000;
JSON
{
  "hex": "#983fa1",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 294.49,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.17086,
    "h": 323.9
  },
  "luminance": 0.12804
}

Semantic roles & 50–950 ramp

primary
#983FA1
secondary
#86BC80
accent
#D35460
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #983FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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