#983FE2#983FE2

#983FE2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.9% C 0.234 H 304.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#983FE2
RGBrgb(152, 63, 226)
HSLhsl(273, 74%, 57%)
HSVhsv(273, 72%, 89%)
CMYKcmyk(32.7%, 72.1%, 0%, 11.4%)
CIE-LABlab(46.61, 64.61, -67.48)
CIE-LCHlch(46.61, 93.42, 313.76°)
OKLaboklab(56.86% 0.1336 -0.192)
OKLCHoklch(56.86% 0.234 304.8)
XYZxyz(28.4508, 15.7216, 73.4725)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FE2 #89E23F
analogous
#473FE2 #983FE2 #E23FDA
triadic
#983FE2 #E2983F #3FE298
tetradic
#983FE2 #E2473F #89E23F #3FDAE2
square
#983FE2 #E2473F #89E23F #3FDAE2
split-complementary
#983FE2 #DAE23F #3FE247
monochromatic
#591691 #7A1EC6 #983FE2 #B574EA #D1A9F2

Accessibility & contrast

On white

5.07
#983FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#983FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FE2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FE2#FFFFFF#000000##FFFFFF
##983FE21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#8A668D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #983fe2;
/* rgb */ color: rgb(152, 63, 226);
/* oklch */ color: oklch(56.9% 0.234 304.8);
Tailwind
colors: {
  custom: {
    50: '#bc7cec',
    500: '#983fe2',
    950: '#000000',
  },
}
SCSS
$custom: #983fe2;
$custom-light: #bc7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#983fe2",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 272.761,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.23387,
    "h": 304.8
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#983FE2
secondary
#BBE09D
accent
#F0378B
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #983FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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