#983EA2#983EA2

#983EA2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.5% C 0.173 H 323.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#983EA2
RGBrgb(152, 62, 162)
HSLhsl(294, 45%, 44%)
HSVhsv(294, 62%, 64%)
CMYKcmyk(6.2%, 61.7%, 0%, 36.5%)
CIE-LABlab(42.35, 51.67, -37.06)
CIE-LCHlch(42.35, 63.58, 324.35°)
OKLaboklab(52.51% 0.1394 -0.1029)
OKLCHoklch(52.51% 0.173 323.6)
XYZxyz(21.1925, 12.7304, 35.5164)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EA2 #48A23E
analogous
#663EA2 #983EA2 #A23E7A
triadic
#983EA2 #A2983E #3EA298
tetradic
#983EA2 #A2663E #48A23E #3E7AA2
square
#983EA2 #A2663E #48A23E #3E7AA2
split-complementary
#983EA2 #7AA23E #3EA266
monochromatic
#451C49 #6E2D76 #983EA2 #B75CC1 #CA89D2

Accessibility & contrast

On white

5.92
#983EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#983EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EA2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EA2#FFFFFF#000000##FFFFFF
##983EA21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#4D689F
Tritanopia (blue-blind)
#9B4D6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #983ea2;
/* rgb */ color: rgb(152, 62, 162);
/* oklch */ color: oklch(52.5% 0.173 323.6);
Tailwind
colors: {
  custom: {
    50: '#b979be',
    500: '#983ea2',
    950: '#000000',
  },
}
SCSS
$custom: #983ea2;
$custom-light: #b979be;
$custom-dark: #000000;
JSON
{
  "hex": "#983ea2",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 294,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.17326,
    "h": 323.6
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#983EA2
secondary
#86BC80
accent
#D45360
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #983EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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