#983AB2#983AB2

#983AB2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.194 H 318.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#983AB2
RGBrgb(152, 58, 178)
HSLhsl(287, 51%, 46%)
HSVhsv(287, 67%, 70%)
CMYKcmyk(14.6%, 67.4%, 0%, 30.2%)
CIE-LABlab(42.64, 56.54, -46.11)
CIE-LCHlch(42.64, 72.96, 320.80°)
OKLaboklab(53.01% 0.1443 -0.1292)
OKLCHoklch(53.01% 0.194 318.1)
XYZxyz(22.4967, 12.9168, 43.4190)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983AB2 #54B23A
analogous
#5C3AB2 #983AB2 #B23A90
triadic
#983AB2 #B2983A #3AB298
tetradic
#983AB2 #B25C3A #54B23A #3A90B2
square
#983AB2 #B25C3A #54B23A #3A90B2
split-complementary
#983AB2 #90B23A #3AB25C
monochromatic
#491C56 #712B84 #983AB2 #B35FCB #C98DDA

Accessibility & contrast

On white

5.86
#983AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #983AB2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983AB2#FFFFFF#000000##FFFFFF
##983AB21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045FB6
Deuteranopia (green-blind)
#3F68AF
Tritanopia (blue-blind)
#975071
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #983ab2;
/* rgb */ color: rgb(152, 58, 178);
/* oklch */ color: oklch(53.0% 0.194 318.1);
Tailwind
colors: {
  custom: {
    50: '#ba77ca',
    500: '#983ab2',
    950: '#000000',
  },
}
SCSS
$custom: #983ab2;
$custom-light: #ba77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#983ab2",
  "rgb": {
    "r": 152,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 287,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.19366,
    "h": 318.1
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#983AB2
secondary
#92C483
accent
#DA4D6C
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #983AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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