#983BAF#983BAF

#983BAF is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.9% C 0.190 H 319.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#983BAF
RGBrgb(152, 59, 175)
HSLhsl(288, 50%, 46%)
HSVhsv(288, 66%, 69%)
CMYKcmyk(13.1%, 66.3%, 0%, 31.4%)
CIE-LABlab(42.61, 55.52, -44.38)
CIE-LCHlch(42.61, 71.08, 321.36°)
OKLaboklab(52.93% 0.1432 -0.1242)
OKLCHoklch(52.93% 0.19 319.1)
XYZxyz(22.2497, 12.8995, 41.8670)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983BAF #52AF3B
analogous
#5E3BAF #983BAF #AF3B8C
triadic
#983BAF #AF983B #3BAF98
tetradic
#983BAF #AF5E3B #52AF3B #3B8CAF
square
#983BAF #AF5E3B #52AF3B #3B8CAF
split-complementary
#983BAF #8CAF3B #3BAF5E
monochromatic
#481C53 #702C81 #983BAF #B45EC9 #C98CD8

Accessibility & contrast

On white

5.87
#983BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#983BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983BAF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983BAF#FFFFFF#000000##FFFFFF
##983BAF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB2
Deuteranopia (green-blind)
#4268AC
Tritanopia (blue-blind)
#985070
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #983baf;
/* rgb */ color: rgb(152, 59, 175);
/* oklch */ color: oklch(52.9% 0.190 319.1);
Tailwind
colors: {
  custom: {
    50: '#ba78c7',
    500: '#983baf',
    950: '#000000',
  },
}
SCSS
$custom: #983baf;
$custom-light: #ba78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#983baf",
  "rgb": {
    "r": 152,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 288.103,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52932,
    "c": 0.18954,
    "h": 319.1
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#983BAF
secondary
#90C383
accent
#D94F6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #983BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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