#983FD4#983FD4

#983FD4 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.8% C 0.220 H 308.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#983FD4
RGBrgb(152, 63, 212)
HSLhsl(276, 63%, 54%)
HSVhsv(276, 70%, 83%)
CMYKcmyk(28.3%, 70.3%, 0%, 16.9%)
CIE-LABlab(45.61, 61.51, -61.10)
CIE-LCHlch(45.61, 86.70, 315.19°)
OKLaboklab(55.84% 0.1358 -0.1732)
OKLCHoklch(55.84% 0.22 308.1)
XYZxyz(26.6076, 14.9843, 63.7652)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FD4 #7BD43F
analogous
#4E3FD4 #983FD4 #D43FC6
triadic
#983FD4 #D4983F #3FD498
tetradic
#983FD4 #D44E3F #7BD43F #3FC6D4
square
#983FD4 #D44E3F #7BD43F #3FC6D4
split-complementary
#983FD4 #C6D43F #3FD44E
monochromatic
#561C7D #7827AF #983FD4 #B371DF #CEA3EA

Accessibility & contrast

On white

5.25
#983FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#983FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FD4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FD4#FFFFFF#000000##FFFFFF
##983FD41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#166DD1
Tritanopia (blue-blind)
#8F6185
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #983fd4;
/* rgb */ color: rgb(152, 63, 212);
/* oklch */ color: oklch(55.8% 0.220 308.1);
Tailwind
colors: {
  custom: {
    50: '#bb7be2',
    500: '#983fd4',
    950: '#000000',
  },
}
SCSS
$custom: #983fd4;
$custom-light: #bb7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#983fd4",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 275.839,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.22012,
    "h": 308.1
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#983FD4
secondary
#B1D798
accent
#E64184
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #983FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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