#983FB8#983FB8

#983FB8 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.193 H 315.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#983FB8
RGBrgb(152, 63, 184)
HSLhsl(284, 49%, 48%)
HSVhsv(284, 66%, 72%)
CMYKcmyk(17.4%, 65.8%, 0%, 27.8%)
CIE-LABlab(43.79, 55.56, -47.80)
CIE-LCHlch(43.79, 73.29, 319.30°)
OKLaboklab(53.95% 0.1383 -0.1342)
OKLCHoklch(53.95% 0.193 315.9)
XYZxyz(23.3768, 13.6920, 46.7495)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FB8 #5FB83F
analogous
#5B3FB8 #983FB8 #B83F9B
triadic
#983FB8 #B8983F #3FB898
tetradic
#983FB8 #B85B3F #5FB83F #3F9BB8
square
#983FB8 #B85B3F #5FB83F #3F9BB8
split-complementary
#983FB8 #9BB83F #3FB85B
monochromatic
#4D205D #722F8A #983FB8 #B169CC #C996DB

Accessibility & contrast

On white

5.62
#983FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#983FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FB8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FB8#FFFFFF#000000##FFFFFF
##983FB81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #983fb8;
/* rgb */ color: rgb(152, 63, 184);
/* oklch */ color: oklch(54.0% 0.193 315.9);
Tailwind
colors: {
  custom: {
    50: '#ba7ace',
    500: '#983fb8',
    950: '#000000',
  },
}
SCSS
$custom: #983fb8;
$custom-light: #ba7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#983fb8",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 284.132,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.19274,
    "h": 315.9
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#983FB8
secondary
#9CC78C
accent
#D94F74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #983FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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