#983EC8#983EC8

#983EC8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.210 H 311.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#983EC8
RGBrgb(152, 62, 200)
HSLhsl(279, 56%, 51%)
HSVhsv(279, 69%, 78%)
CMYKcmyk(24%, 69%, 0%, 21.6%)
CIE-LABlab(44.65, 59.35, -55.74)
CIE-LCHlch(44.65, 81.42, 316.80°)
OKLaboklab(54.9% 0.1383 -0.1575)
OKLCHoklch(54.9% 0.21 311.3)
XYZxyz(25.0949, 14.2914, 56.0689)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EC8 #6EC83E
analogous
#533EC8 #983EC8 #C83EB3
triadic
#983EC8 #C8983E #3EC898
tetradic
#983EC8 #C8533E #6EC83E #3EB3C8
square
#983EC8 #C8533E #6EC83E #3EB3C8
split-complementary
#983EC8 #B3C83E #3EC853
monochromatic
#521F6D #752D9C #983EC8 #B16ED6 #CB9DE3

Accessibility & contrast

On white

5.44
#983EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#983EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EC8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EC8#FFFFFF#000000##FFFFFF
##983EC81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#925B7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #983ec8;
/* rgb */ color: rgb(152, 62, 200);
/* oklch */ color: oklch(54.9% 0.210 311.3);
Tailwind
colors: {
  custom: {
    50: '#ba7ad9',
    500: '#983ec8',
    950: '#000000',
  },
}
SCSS
$custom: #983ec8;
$custom-light: #ba7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#983ec8",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 279.13,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54896,
    "c": 0.20959,
    "h": 311.3
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

primary
#983EC8
secondary
#A8CF92
accent
#DF497D
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #983EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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