#983FB4#983FB4

#983FB4 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.7% C 0.189 H 317.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#983FB4
RGBrgb(152, 63, 180)
HSLhsl(286, 48%, 48%)
HSVhsv(286, 65%, 71%)
CMYKcmyk(15.6%, 65%, 0%, 29.4%)
CIE-LABlab(43.55, 54.75, -45.84)
CIE-LCHlch(43.55, 71.40, 320.06°)
OKLaboklab(53.7% 0.1385 -0.1284)
OKLCHoklch(53.7% 0.189 317.1)
XYZxyz(22.9634, 13.5266, 44.5725)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FB4 #5BB43F
analogous
#5D3FB4 #983FB4 #B43F95
triadic
#983FB4 #B4983F #3FB498
tetradic
#983FB4 #B45D3F #5BB43F #3F95B4
square
#983FB4 #B45D3F #5BB43F #3F95B4
split-complementary
#983FB4 #95B43F #3FB45D
monochromatic
#4B1F59 #722F87 #983FB4 #B267CA #C994DA

Accessibility & contrast

On white

5.67
#983FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#983FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FB4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FB4#FFFFFF#000000##FFFFFF
##983FB41.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1361B8
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#975474
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #983fb4;
/* rgb */ color: rgb(152, 63, 180);
/* oklch */ color: oklch(53.7% 0.189 317.1);
Tailwind
colors: {
  custom: {
    50: '#ba7acb',
    500: '#983fb4',
    950: '#000000',
  },
}
SCSS
$custom: #983fb4;
$custom-light: #ba7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#983fb4",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 285.641,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.18887,
    "h": 317.1
  },
  "luminance": 0.13526
}

Semantic roles & 50–950 ramp

primary
#983FB4
secondary
#98C58A
accent
#D85071
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #983FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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