#983EE2#983EE2

#983EE2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.8% C 0.235 H 304.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#983EE2
RGBrgb(152, 62, 226)
HSLhsl(273, 74%, 56%)
HSVhsv(273, 73%, 89%)
CMYKcmyk(32.7%, 72.6%, 0%, 11.4%)
CIE-LABlab(46.46, 65.02, -67.72)
CIE-LCHlch(46.46, 93.88, 313.84°)
OKLaboklab(56.76% 0.1345 -0.1927)
OKLCHoklch(56.76% 0.235 304.9)
XYZxyz(28.3959, 15.6118, 73.4542)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EE2 #88E23E
analogous
#463EE2 #983EE2 #E23EDA
triadic
#983EE2 #E2983E #3EE298
tetradic
#983EE2 #E2463E #88E23E #3EDAE2
square
#983EE2 #E2463E #88E23E #3EDAE2
split-complementary
#983EE2 #DAE23E #3EE246
monochromatic
#591690 #7A1EC5 #983EE2 #B473EA #D1A8F2

Accessibility & contrast

On white

5.09
#983EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#983EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EE2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EE2#FFFFFF#000000##FFFFFF
##983EE21.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.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: #983ee2;
/* rgb */ color: rgb(152, 62, 226);
/* oklch */ color: oklch(56.8% 0.235 304.9);
Tailwind
colors: {
  custom: {
    50: '#bc7bec',
    500: '#983ee2',
    950: '#000000',
  },
}
SCSS
$custom: #983ee2;
$custom-light: #bc7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#983ee2",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 272.927,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.23497,
    "h": 304.9
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#983EE2
secondary
#BBE09C
accent
#F1378B
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #983EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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