#983FA2#983FA2

#983FA2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.6% C 0.172 H 323.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#983FA2
RGBrgb(152, 63, 162)
HSLhsl(294, 44%, 44%)
HSVhsv(294, 61%, 64%)
CMYKcmyk(6.2%, 61.1%, 0%, 36.5%)
CIE-LABlab(42.52, 51.21, -36.80)
CIE-LCHlch(42.52, 63.06, 324.30°)
OKLaboklab(52.63% 0.1381 -0.1021)
OKLCHoklch(52.63% 0.172 323.5)
XYZxyz(21.2474, 12.8402, 35.5347)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FA2 #49A23F
analogous
#673FA2 #983FA2 #A23F7B
triadic
#983FA2 #A2983F #3FA298
tetradic
#983FA2 #A2673F #49A23F #3F7BA2
square
#983FA2 #A2673F #49A23F #3F7BA2
split-complementary
#983FA2 #7BA23F #3FA267
monochromatic
#451D4A #6F2E76 #983FA2 #B65EC0 #CA8AD1

Accessibility & contrast

On white

5.89
#983FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#983FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FA2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FA2#FFFFFF#000000##FFFFFF
##983FA21.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#9B4D6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #983fa2;
/* rgb */ color: rgb(152, 63, 162);
/* oklch */ color: oklch(52.6% 0.172 323.5);
Tailwind
colors: {
  custom: {
    50: '#b97abe',
    500: '#983fa2',
    950: '#000000',
  },
}
SCSS
$custom: #983fa2;
$custom-light: #b97abe;
$custom-dark: #000000;
JSON
{
  "hex": "#983fa2",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 293.939,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52629,
    "c": 0.17179,
    "h": 323.5
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#983FA2
secondary
#87BC81
accent
#D45461
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #983FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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