#983DA2#983DA2

#983DA2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.4% C 0.175 H 323.6°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#983DA2
RGBrgb(152, 61, 162)
HSLhsl(294, 45%, 44%)
HSVhsv(294, 62%, 64%)
CMYKcmyk(6.2%, 62.3%, 0%, 36.5%)
CIE-LABlab(42.19, 52.12, -37.32)
CIE-LCHlch(42.19, 64.11, 324.39°)
OKLaboklab(52.39% 0.1407 -0.1036)
OKLCHoklch(52.39% 0.175 323.6)
XYZxyz(21.1386, 12.6227, 35.4984)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983DA2 #47A23D
analogous
#653DA2 #983DA2 #A23D79
triadic
#983DA2 #A2983D #3DA298
tetradic
#983DA2 #A2653D #47A23D #3D79A2
square
#983DA2 #A2653D #47A23D #3D79A2
split-complementary
#983DA2 #79A23D #3DA265
monochromatic
#451C49 #6E2C76 #983DA2 #B75BC1 #CB87D2

Accessibility & contrast

On white

5.96
#983DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#983DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983DA2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983DA2#FFFFFF#000000##FFFFFF
##983DA21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#9B4C6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #983da2;
/* rgb */ color: rgb(152, 61, 162);
/* oklch */ color: oklch(52.4% 0.175 323.6);
Tailwind
colors: {
  custom: {
    50: '#b979be',
    500: '#983da2',
    950: '#000000',
  },
}
SCSS
$custom: #983da2;
$custom-light: #b979be;
$custom-dark: #000000;
JSON
{
  "hex": "#983da2",
  "rgb": {
    "r": 152,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 294.059,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52387,
    "c": 0.17471,
    "h": 323.6
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#983DA2
secondary
#85BC7E
accent
#D55360
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #983DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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