#983AAF#983AAF

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

Color values

HEX#983AAF
RGBrgb(152, 58, 175)
HSLhsl(288, 50%, 46%)
HSVhsv(288, 67%, 69%)
CMYKcmyk(13.1%, 66.9%, 0%, 31.4%)
CIE-LABlab(42.46, 55.95, -44.63)
CIE-LCHlch(42.46, 71.57, 321.42°)
OKLaboklab(52.82% 0.1444 -0.1249)
OKLCHoklch(52.82% 0.191 319.1)
XYZxyz(22.1988, 12.7977, 41.8500)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983AAF #51AF3A
analogous
#5D3AAF #983AAF #AF3A8B
triadic
#983AAF #AF983A #3AAF98
tetradic
#983AAF #AF5D3A #51AF3A #3A8BAF
square
#983AAF #AF5D3A #51AF3A #3A8BAF
split-complementary
#983AAF #8BAF3A #3AAF5D
monochromatic
#481C53 #702B81 #983AAF #B45DC9 #C98BD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##983AAF#FFFFFF#000000##FFFFFF
##983AAF1.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)
#0E5EB2
Deuteranopia (green-blind)
#4267AC
Tritanopia (blue-blind)
#984F70
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #983aaf;
/* rgb */ color: rgb(152, 58, 175);
/* oklch */ color: oklch(52.8% 0.191 319.1);
Tailwind
colors: {
  custom: {
    50: '#ba77c7',
    500: '#983aaf',
    950: '#000000',
  },
}
SCSS
$custom: #983aaf;
$custom-light: #ba77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#983aaf",
  "rgb": {
    "r": 152,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 288.205,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.19088,
    "h": 319.1
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#983AAF
secondary
#8FC382
accent
#DA4E6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #983AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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