#983DC7#983DC7

#983DC7 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.210 H 311.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#983DC7
RGBrgb(152, 61, 199)
HSLhsl(280, 55%, 51%)
HSVhsv(280, 69%, 78%)
CMYKcmyk(23.6%, 69.3%, 0%, 22%)
CIE-LABlab(44.43, 59.57, -55.51)
CIE-LCHlch(44.43, 81.43, 317.02°)
OKLaboklab(54.72% 0.1395 -0.1568)
OKLCHoklch(54.72% 0.21 311.6)
XYZxyz(24.9245, 14.1370, 55.4375)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983DC7 #6CC73D
analogous
#533DC7 #983DC7 #C73DB1
triadic
#983DC7 #C7983D #3DC798
tetradic
#983DC7 #C7533D #6CC73D #3DB1C7
square
#983DC7 #C7533D #6CC73D #3DB1C7
split-complementary
#983DC7 #B1C73D #3DC753
monochromatic
#511F6B #752D9A #983DC7 #B16CD5 #CA9CE2

Accessibility & contrast

On white

5.49
#983DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#983DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983DC7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983DC7#FFFFFF#000000##FFFFFF
##983DC71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#925A7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #983dc7;
/* rgb */ color: rgb(152, 61, 199);
/* oklch */ color: oklch(54.7% 0.210 311.6);
Tailwind
colors: {
  custom: {
    50: '#ba7ad9',
    500: '#983dc7',
    950: '#000000',
  },
}
SCSS
$custom: #983dc7;
$custom-light: #ba7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#983dc7",
  "rgb": {
    "r": 152,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 279.565,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.20985,
    "h": 311.6
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#983DC7
secondary
#A6CE91
accent
#DF497C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #983DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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