#983ED5#983ED5

#983ED5 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.222 H 307.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#983ED5
RGBrgb(152, 62, 213)
HSLhsl(276, 64%, 54%)
HSVhsv(276, 71%, 84%)
CMYKcmyk(28.6%, 70.9%, 0%, 16.5%)
CIE-LABlab(45.53, 62.16, -61.81)
CIE-LCHlch(45.53, 87.65, 315.16°)
OKLaboklab(55.81% 0.1367 -0.1753)
OKLCHoklch(55.81% 0.222 307.9)
XYZxyz(26.6793, 14.9251, 64.4133)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983ED5 #7BD53E
analogous
#4D3ED5 #983ED5 #D53EC6
triadic
#983ED5 #D5983E #3ED598
tetradic
#983ED5 #D54D3E #7BD53E #3EC6D5
square
#983ED5 #D54D3E #7BD53E #3EC6D5
split-complementary
#983ED5 #C6D53E #3ED54D
monochromatic
#561B7D #7826B0 #983ED5 #B370E0 #CEA3EB

Accessibility & contrast

On white

5.27
#983ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#983ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983ED5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983ED5#FFFFFF#000000##FFFFFF
##983ED51.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#106DD2
Tritanopia (blue-blind)
#8E6186
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #983ed5;
/* rgb */ color: rgb(152, 62, 213);
/* oklch */ color: oklch(55.8% 0.222 307.9);
Tailwind
colors: {
  custom: {
    50: '#bb7be3',
    500: '#983ed5',
    950: '#000000',
  },
}
SCSS
$custom: #983ed5;
$custom-light: #bb7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#983ed5",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 275.762,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55805,
    "c": 0.22227,
    "h": 307.9
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#983ED5
secondary
#B1D897
accent
#E74184
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #983ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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