#983FC4#983FC4

#983FC4 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.7% C 0.204 H 312.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#983FC4
RGBrgb(152, 63, 196)
HSLhsl(280, 53%, 51%)
HSVhsv(280, 68%, 77%)
CMYKcmyk(22.4%, 67.9%, 0%, 23.1%)
CIE-LABlab(44.54, 58.07, -53.59)
CIE-LCHlch(44.54, 79.02, 317.29°)
OKLaboklab(54.74% 0.1376 -0.1512)
OKLCHoklch(54.74% 0.204 312.3)
XYZxyz(24.6884, 14.2166, 53.6574)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FC4 #6BC43F
analogous
#553FC4 #983FC4 #C43FAE
triadic
#983FC4 #C4983F #3FC498
tetradic
#983FC4 #C4553F #6BC43F #3FAEC4
square
#983FC4 #C4553F #6BC43F #3FAEC4
split-complementary
#983FC4 #AEC43F #3FC455
monochromatic
#512068 #752E97 #983FC4 #B16ED2 #CA9DE1

Accessibility & contrast

On white

5.46
#983FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#983FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FC4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FC4#FFFFFF#000000##FFFFFF
##983FC41.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#935A7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #983fc4;
/* rgb */ color: rgb(152, 63, 196);
/* oklch */ color: oklch(54.7% 0.204 312.3);
Tailwind
colors: {
  custom: {
    50: '#ba7bd7',
    500: '#983fc4',
    950: '#000000',
  },
}
SCSS
$custom: #983fc4;
$custom-light: #ba7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#983fc4",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 280.15,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.20442,
    "h": 312.3
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#983FC4
secondary
#A5CD92
accent
#DC4B7B
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #983FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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