#983BA2#983BA2

#983BA2 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.2% C 0.178 H 323.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#983BA2
RGBrgb(152, 59, 162)
HSLhsl(294, 47%, 43%)
HSVhsv(294, 64%, 64%)
CMYKcmyk(6.2%, 63.6%, 0%, 36.5%)
CIE-LABlab(41.87, 53.01, -37.84)
CIE-LCHlch(41.87, 65.13, 324.48°)
OKLaboklab(52.15% 0.1431 -0.1051)
OKLCHoklch(52.15% 0.178 323.7)
XYZxyz(21.0339, 12.4131, 35.4635)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983BA2 #45A23B
analogous
#643BA2 #983BA2 #A23B78
triadic
#983BA2 #A2983B #3BA298
tetradic
#983BA2 #A2643B #45A23B #3B78A2
square
#983BA2 #A2643B #45A23B #3B78A2
split-complementary
#983BA2 #78A23B #3BA264
monochromatic
#441A48 #6E2B75 #983BA2 #B858C2 #CB85D3

Accessibility & contrast

On white

6.03
#983BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#983BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983BA2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983BA2#FFFFFF#000000##FFFFFF
##983BA21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#4B679F
Tritanopia (blue-blind)
#9B4B69
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #983ba2;
/* rgb */ color: rgb(152, 59, 162);
/* oklch */ color: oklch(52.2% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#b977be',
    500: '#983ba2',
    950: '#000000',
  },
}
SCSS
$custom: #983ba2;
$custom-light: #b977be;
$custom-dark: #000000;
JSON
{
  "hex": "#983ba2",
  "rgb": {
    "r": 152,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 294.175,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.17756,
    "h": 323.7
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#983BA2
secondary
#82BD7C
accent
#D6525E
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #983BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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