#983FA4#983FA4

#983FA4 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.7% C 0.174 H 322.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#983FA4
RGBrgb(152, 63, 164)
HSLhsl(293, 44%, 45%)
HSVhsv(293, 62%, 64%)
CMYKcmyk(7.3%, 61.6%, 0%, 35.7%)
CIE-LABlab(42.63, 51.59, -37.82)
CIE-LCHlch(42.63, 63.97, 323.75°)
OKLaboklab(52.74% 0.1383 -0.1051)
OKLCHoklch(52.74% 0.174 322.8)
XYZxyz(21.4266, 12.9119, 36.4784)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FA4 #4BA43F
analogous
#663FA4 #983FA4 #A43F7E
triadic
#983FA4 #A4983F #3FA498
tetradic
#983FA4 #A4663F #4BA43F #3F7EA4
square
#983FA4 #A4663F #4BA43F #3F7EA4
split-complementary
#983FA4 #7EA43F #3FA466
monochromatic
#461D4C #6F2E78 #983FA4 #B65FC1 #CA8BD2

Accessibility & contrast

On white

5.86
#983FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#983FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FA4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FA4#FFFFFF#000000##FFFFFF
##983FA41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#9A4E6C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #983fa4;
/* rgb */ color: rgb(152, 63, 164);
/* oklch */ color: oklch(52.7% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#b97abf',
    500: '#983fa4',
    950: '#000000',
  },
}
SCSS
$custom: #983fa4;
$custom-light: #b97abf;
$custom-dark: #000000;
JSON
{
  "hex": "#983fa4",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 292.871,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.17365,
    "h": 322.8
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#983FA4
secondary
#89BD82
accent
#D45463
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #983FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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