#983FAC#983FAC

#983FAC is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.181 H 319.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#983FAC
RGBrgb(152, 63, 172)
HSLhsl(289, 46%, 46%)
HSVhsv(289, 63%, 67%)
CMYKcmyk(11.6%, 63.4%, 0%, 32.5%)
CIE-LABlab(43.08, 53.15, -41.86)
CIE-LCHlch(43.08, 67.65, 321.77°)
OKLaboklab(53.21% 0.1385 -0.1168)
OKLCHoklch(53.21% 0.181 319.8)
XYZxyz(22.1719, 13.2100, 40.4036)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FAC #53AC3F
analogous
#613FAC #983FAC #AC3F89
triadic
#983FAC #AC983F #3FAC98
tetradic
#983FAC #AC613F #53AC3F #3F89AC
square
#983FAC #AC613F #53AC3F #3F89AC
split-complementary
#983FAC #89AC3F #3FAC61
monochromatic
#491E52 #702F7F #983FAC #B363C6 #C98FD6

Accessibility & contrast

On white

5.77
#983FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#983FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FAC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FAC#FFFFFF#000000##FFFFFF
##983FAC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#995170
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983fac;
/* rgb */ color: rgb(152, 63, 172);
/* oklch */ color: oklch(53.2% 0.181 319.8);
Tailwind
colors: {
  custom: {
    50: '#b97ac5',
    500: '#983fac',
    950: '#000000',
  },
}
SCSS
$custom: #983fac;
$custom-light: #b97ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#983fac",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 288.991,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.1812,
    "h": 319.8
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#983FAC
secondary
#91C186
accent
#D6526A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #983FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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