#983DB7#983DB7

#983DB7 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.194 H 316.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#983DB7
RGBrgb(152, 61, 183)
HSLhsl(285, 50%, 48%)
HSVhsv(285, 67%, 72%)
CMYKcmyk(16.9%, 66.7%, 0%, 28.2%)
CIE-LABlab(43.41, 56.25, -47.82)
CIE-LCHlch(43.41, 73.83, 319.63°)
OKLaboklab(53.66% 0.1407 -0.1342)
OKLCHoklch(53.66% 0.194 316.3)
XYZxyz(23.1636, 13.4327, 46.1632)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983DB7 #5CB73D
analogous
#5B3DB7 #983DB7 #B73D99
triadic
#983DB7 #B7983D #3DB798
tetradic
#983DB7 #B75B3D #5CB73D #3D99B7
square
#983DB7 #B75B3D #5CB73D #3D99B7
split-complementary
#983DB7 #99B73D #3DB75B
monochromatic
#4C1E5B #722E89 #983DB7 #B265CC #C993DB

Accessibility & contrast

On white

5.70
#983DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#983DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983DB7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983DB7#FFFFFF#000000##FFFFFF
##983DB71.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#965475
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #983db7;
/* rgb */ color: rgb(152, 61, 183);
/* oklch */ color: oklch(53.7% 0.194 316.3);
Tailwind
colors: {
  custom: {
    50: '#ba79cd',
    500: '#983db7',
    950: '#000000',
  },
}
SCSS
$custom: #983db7;
$custom-light: #ba79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#983db7",
  "rgb": {
    "r": 152,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 284.754,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.19444,
    "h": 316.3
  },
  "luminance": 0.13432
}

Semantic roles & 50–950 ramp

primary
#983DB7
secondary
#99C689
accent
#DA4E72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A13
muted
#817C82

Preview Lab

Preview with #983DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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