#983EB8#983EB8

#983EB8 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.194 H 315.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#983EB8
RGBrgb(152, 62, 184)
HSLhsl(284, 50%, 48%)
HSVhsv(284, 66%, 72%)
CMYKcmyk(17.4%, 66.3%, 0%, 27.8%)
CIE-LABlab(43.63, 56.01, -48.06)
CIE-LCHlch(43.63, 73.80, 319.37°)
OKLaboklab(53.84% 0.1395 -0.1349)
OKLCHoklch(53.84% 0.194 315.9)
XYZxyz(23.3219, 13.5822, 46.7312)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EB8 #5EB83E
analogous
#5B3EB8 #983EB8 #B83E9B
triadic
#983EB8 #B8983E #3EB898
tetradic
#983EB8 #B85B3E #5EB83E #3E9BB8
square
#983EB8 #B85B3E #5EB83E #3E9BB8
split-complementary
#983EB8 #9BB83E #3EB85B
monochromatic
#4C1F5C #722F8A #983EB8 #B267CC #C995DB

Accessibility & contrast

On white

5.65
#983EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#983EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EB8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EB8#FFFFFF#000000##FFFFFF
##983EB81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0162BC
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#965576
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #983eb8;
/* rgb */ color: rgb(152, 62, 184);
/* oklch */ color: oklch(53.8% 0.194 315.9);
Tailwind
colors: {
  custom: {
    50: '#ba7ace',
    500: '#983eb8',
    950: '#000000',
  },
}
SCSS
$custom: #983eb8;
$custom-light: #ba7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#983eb8",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 284.262,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.19408,
    "h": 315.9
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#983EB8
secondary
#9BC78B
accent
#D94F73
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #983EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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