#983EC6#983EC6

#983EC6 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.208 H 311.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#983EC6
RGBrgb(152, 62, 198)
HSLhsl(280, 54%, 51%)
HSVhsv(280, 69%, 78%)
CMYKcmyk(23.2%, 68.7%, 0%, 22.4%)
CIE-LABlab(44.52, 58.93, -54.79)
CIE-LCHlch(44.52, 80.47, 317.08°)
OKLaboklab(54.76% 0.1385 -0.1547)
OKLCHoklch(54.76% 0.208 311.8)
XYZxyz(24.8627, 14.1985, 54.8460)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EC6 #6CC63E
analogous
#543EC6 #983EC6 #C63EB0
triadic
#983EC6 #C6983E #3EC698
tetradic
#983EC6 #C6543E #6CC63E #3EB0C6
square
#983EC6 #C6543E #6CC63E #3EB0C6
split-complementary
#983EC6 #B0C63E #3EC654
monochromatic
#511F6A #752D99 #983EC6 #B16DD4 #CA9CE2

Accessibility & contrast

On white

5.47
#983EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#983EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EC6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EC6#FFFFFF#000000##FFFFFF
##983EC61.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#2F6BC3
Tritanopia (blue-blind)
#925B7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #983ec6;
/* rgb */ color: rgb(152, 62, 198);
/* oklch */ color: oklch(54.8% 0.208 311.8);
Tailwind
colors: {
  custom: {
    50: '#ba7ad8',
    500: '#983ec6',
    950: '#000000',
  },
}
SCSS
$custom: #983ec6;
$custom-light: #ba7ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#983ec6",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 279.706,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5476,
    "c": 0.20764,
    "h": 311.8
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#983EC6
secondary
#A6CE92
accent
#DE4A7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #983EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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