#983FE3#983FE3

#983FE3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.9% C 0.235 H 304.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#983FE3
RGBrgb(152, 63, 227)
HSLhsl(273, 75%, 57%)
HSVhsv(273, 72%, 89%)
CMYKcmyk(33%, 72.2%, 0%, 11%)
CIE-LABlab(46.68, 64.83, -67.93)
CIE-LCHlch(46.68, 93.90, 313.67°)
OKLaboklab(56.93% 0.1334 -0.1933)
OKLCHoklch(56.93% 0.235 304.6)
XYZxyz(28.5884, 15.7766, 74.1972)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983FE3 #8AE33F
analogous
#463FE3 #983FE3 #E33FDC
triadic
#983FE3 #E3983F #3FE398
tetradic
#983FE3 #E3463F #8AE33F #3FDCE3
square
#983FE3 #E3463F #8AE33F #3FDCE3
split-complementary
#983FE3 #DCE33F #3FE346
monochromatic
#591592 #7A1DC8 #983FE3 #B574EB #D1AAF3

Accessibility & contrast

On white

5.05
#983FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#983FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983FE3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983FE3#FFFFFF#000000##FFFFFF
##983FE31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#8A678E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #983fe3;
/* rgb */ color: rgb(152, 63, 227);
/* oklch */ color: oklch(56.9% 0.235 304.6);
Tailwind
colors: {
  custom: {
    50: '#bc7ced',
    500: '#983fe3',
    950: '#000000',
  },
}
SCSS
$custom: #983fe3;
$custom-light: #bc7ced;
$custom-dark: #000000;
JSON
{
  "hex": "#983fe3",
  "rgb": {
    "r": 152,
    "g": 63,
    "b": 227
  },
  "hsl": {
    "h": 272.561,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.23486,
    "h": 304.6
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#983FE3
secondary
#BCE09D
accent
#F1378C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #983FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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