#983EB2#983EB2

#983EB2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.188 H 317.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#983EB2
RGBrgb(152, 62, 178)
HSLhsl(287, 48%, 47%)
HSVhsv(287, 65%, 70%)
CMYKcmyk(14.6%, 65.2%, 0%, 30.2%)
CIE-LABlab(43.27, 54.79, -45.11)
CIE-LCHlch(43.27, 70.97, 320.54°)
OKLaboklab(53.46% 0.1397 -0.1263)
OKLCHoklch(53.46% 0.188 317.9)
XYZxyz(22.7063, 13.3359, 43.4889)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EB2 #58B23E
analogous
#5E3EB2 #983EB2 #B23E92
triadic
#983EB2 #B2983E #3EB298
tetradic
#983EB2 #B25E3E #58B23E #3E92B2
square
#983EB2 #B25E3E #58B23E #3E92B2
split-complementary
#983EB2 #92B23E #3EB25E
monochromatic
#4A1E57 #712E85 #983EB2 #B264C9 #C992D9

Accessibility & contrast

On white

5.73
#983EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#983EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EB2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EB2#FFFFFF#000000##FFFFFF
##983EB21.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#975373
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #983eb2;
/* rgb */ color: rgb(152, 62, 178);
/* oklch */ color: oklch(53.5% 0.188 317.9);
Tailwind
colors: {
  custom: {
    50: '#ba7ac9',
    500: '#983eb2',
    950: '#000000',
  },
}
SCSS
$custom: #983eb2;
$custom-light: #ba7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#983eb2",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 286.552,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.18832,
    "h": 317.9
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#983EB2
secondary
#95C488
accent
#D8506E
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #983EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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