#983FAF#983FAF

#983FAF is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.184 H 318.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#983FAF
RGBrgb(152, 63, 175)
HSLhsl(288, 47%, 47%)
HSVhsv(288, 64%, 69%)
CMYKcmyk(13.1%, 64%, 0%, 31.4%)
CIE-LABlab(43.25, 53.74, -43.36)
CIE-LCHlch(43.25, 69.05, 321.10°)
OKLaboklab(53.39% 0.1385 -0.1212)
OKLCHoklch(53.39% 0.184 318.8)
XYZxyz(22.4632, 13.3265, 41.9382)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FAF #56AF3F
analogous
#603FAF #983FAF #AF3F8E
triadic
#983FAF #AF983F #3FAF98
tetradic
#983FAF #AF603F #56AF3F #3F8EAF
square
#983FAF #AF603F #56AF3F #3F8EAF
split-complementary
#983FAF #8EAF3F #3FAF60
monochromatic
#4A1F55 #712F82 #983FAF #B364C7 #C991D7

Accessibility & contrast

On white

5.73
#983FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#983FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FAF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FAF#FFFFFF#000000##FFFFFF
##983FAF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#985271
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983faf;
/* rgb */ color: rgb(152, 63, 175);
/* oklch */ color: oklch(53.4% 0.184 318.8);
Tailwind
colors: {
  custom: {
    50: '#b97ac7',
    500: '#983faf',
    950: '#000000',
  },
}
SCSS
$custom: #983faf;
$custom-light: #b97ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#983faf",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 287.679,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.18406,
    "h": 318.8
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#983FAF
secondary
#93C387
accent
#D7516D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #983FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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