#983FD7#983FD7

#983FD7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.1% C 0.223 H 307.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#983FD7
RGBrgb(152, 63, 215)
HSLhsl(275, 66%, 55%)
HSVhsv(275, 71%, 84%)
CMYKcmyk(29.3%, 70.7%, 0%, 15.7%)
CIE-LABlab(45.82, 62.17, -62.48)
CIE-LCHlch(45.82, 88.14, 314.86°)
OKLaboklab(56.06% 0.1354 -0.1773)
OKLCHoklch(56.06% 0.223 307.4)
XYZxyz(26.9895, 15.1371, 65.7767)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FD7 #7ED73F
analogous
#4C3FD7 #983FD7 #D73FCA
triadic
#983FD7 #D7983F #3FD798
tetradic
#983FD7 #D74C3F #7ED73F #3FCAD7
square
#983FD7 #D74C3F #7ED73F #3FCAD7
split-complementary
#983FD7 #CAD73F #3FD74C
monochromatic
#571B81 #7925B3 #983FD7 #B372E2 #CEA4EC

Accessibility & contrast

On white

5.21
#983FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#983FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FD7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FD7#FFFFFF#000000##FFFFFF
##983FD71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0B6DD4
Tritanopia (blue-blind)
#8E6287
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #983fd7;
/* rgb */ color: rgb(152, 63, 215);
/* oklch */ color: oklch(56.1% 0.223 307.4);
Tailwind
colors: {
  custom: {
    50: '#bb7be4',
    500: '#983fd7',
    950: '#000000',
  },
}
SCSS
$custom: #983fd7;
$custom-light: #bb7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#983fd7",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 215
  },
  "hsl": {
    "h": 275.132,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.22307,
    "h": 307.4
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#983FD7
secondary
#B3D999
accent
#E83F85
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #983FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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