#983EC2#983EC2

#983EC2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.5% C 0.204 H 313.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#983EC2
RGBrgb(152, 62, 194)
HSLhsl(281, 52%, 50%)
HSVhsv(281, 68%, 76%)
CMYKcmyk(21.6%, 68%, 0%, 23.9%)
CIE-LABlab(44.26, 58.08, -52.89)
CIE-LCHlch(44.26, 78.55, 317.68°)
OKLaboklab(54.49% 0.1389 -0.1491)
OKLCHoklch(54.49% 0.204 313)
XYZxyz(24.4074, 14.0164, 52.4482)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EC2 #68C23E
analogous
#563EC2 #983EC2 #C23EAA
triadic
#983EC2 #C2983E #3EC298
tetradic
#983EC2 #C2563E #68C23E #3EAAC2
square
#983EC2 #C2563E #68C23E #3EAAC2
split-complementary
#983EC2 #AAC23E #3EC256
monochromatic
#4F2066 #742F94 #983EC2 #B16DD1 #CA9BDF

Accessibility & contrast

On white

5.52
#983EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#983EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EC2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EC2#FFFFFF#000000##FFFFFF
##983EC21.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#346BBF
Tritanopia (blue-blind)
#94597B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #983ec2;
/* rgb */ color: rgb(152, 62, 194);
/* oklch */ color: oklch(54.5% 0.204 313.0);
Tailwind
colors: {
  custom: {
    50: '#ba7ad5',
    500: '#983ec2',
    950: '#000000',
  },
}
SCSS
$custom: #983ec2;
$custom-light: #ba7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#983ec2",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 280.909,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.20375,
    "h": 313
  },
  "luminance": 0.14016
}

Semantic roles & 50–950 ramp

primary
#983EC2
secondary
#A3CB90
accent
#DB4C7A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #983EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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