#983FD2#983FD2

#983FD2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.7% C 0.218 H 308.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#983FD2
RGBrgb(152, 63, 210)
HSLhsl(276, 62%, 54%)
HSVhsv(276, 70%, 82%)
CMYKcmyk(27.6%, 70%, 0%, 17.6%)
CIE-LABlab(45.47, 61.08, -60.17)
CIE-LCHlch(45.47, 85.74, 315.43°)
OKLaboklab(55.7% 0.1361 -0.1705)
OKLCHoklch(55.7% 0.218 308.6)
XYZxyz(26.3569, 14.8840, 62.4447)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FD2 #79D23F
analogous
#4E3FD2 #983FD2 #D23FC2
triadic
#983FD2 #D2983F #3FD298
tetradic
#983FD2 #D24E3F #79D23F #3FC2D2
square
#983FD2 #D24E3F #79D23F #3FC2D2
split-complementary
#983FD2 #C2D23F #3FD24E
monochromatic
#551D7A #7828AC #983FD2 #B371DE #CDA2E9

Accessibility & contrast

On white

5.28
#983FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#983FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FD2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FD2#FFFFFF#000000##FFFFFF
##983FD21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#1B6DCF
Tritanopia (blue-blind)
#8F6084
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #983fd2;
/* rgb */ color: rgb(152, 63, 210);
/* oklch */ color: oklch(55.7% 0.218 308.6);
Tailwind
colors: {
  custom: {
    50: '#bb7be1',
    500: '#983fd2',
    950: '#000000',
  },
}
SCSS
$custom: #983fd2;
$custom-light: #bb7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#983fd2",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 276.327,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55699,
    "c": 0.21815,
    "h": 308.6
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#983FD2
secondary
#B0D697
accent
#E54383
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #983FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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