#983FC5#983FC5

#983FC5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.205 H 312.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#983FC5
RGBrgb(152, 63, 197)
HSLhsl(280, 54%, 51%)
HSVhsv(280, 68%, 77%)
CMYKcmyk(22.8%, 68%, 0%, 22.7%)
CIE-LABlab(44.61, 58.28, -54.07)
CIE-LCHlch(44.61, 79.50, 317.15°)
OKLaboklab(54.8% 0.1375 -0.1526)
OKLCHoklch(54.8% 0.205 312)
XYZxyz(24.8026, 14.2623, 54.2588)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FC5 #6CC53F
analogous
#553FC5 #983FC5 #C53FAF
triadic
#983FC5 #C5983F #3FC598
tetradic
#983FC5 #C5553F #6CC53F #3FAFC5
square
#983FC5 #C5553F #6CC53F #3FAFC5
split-complementary
#983FC5 #AFC53F #3FC555
monochromatic
#51206A #752E99 #983FC5 #B16ED3 #CA9DE1

Accessibility & contrast

On white

5.45
#983FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#983FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FC5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FC5#FFFFFF#000000##FFFFFF
##983FC51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#316BC2
Tritanopia (blue-blind)
#935B7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #983fc5;
/* rgb */ color: rgb(152, 63, 197);
/* oklch */ color: oklch(54.8% 0.205 312.0);
Tailwind
colors: {
  custom: {
    50: '#ba7bd7',
    500: '#983fc5',
    950: '#000000',
  },
}
SCSS
$custom: #983fc5;
$custom-light: #ba7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#983fc5",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 279.851,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.2054,
    "h": 312
  },
  "luminance": 0.14262
}

Semantic roles & 50–950 ramp

primary
#983FC5
secondary
#A6CE92
accent
#DD4B7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #983FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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