#983EBA#983EBA

#983EBA is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.196 H 315.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#983EBA
RGBrgb(152, 62, 186)
HSLhsl(284, 50%, 49%)
HSVhsv(284, 67%, 73%)
CMYKcmyk(18.3%, 66.7%, 0%, 27.1%)
CIE-LABlab(43.75, 56.42, -49.03)
CIE-LCHlch(43.75, 74.75, 319.01°)
OKLaboklab(53.97% 0.1394 -0.1378)
OKLCHoklch(53.97% 0.196 315.3)
XYZxyz(23.5330, 13.6667, 47.8431)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983EBA #60BA3E
analogous
#5A3EBA #983EBA #BA3E9E
triadic
#983EBA #BA983E #3EBA98
tetradic
#983EBA #BA5A3E #60BA3E #3E9EBA
square
#983EBA #BA5A3E #60BA3E #3E9EBA
split-complementary
#983EBA #9EBA3E #3EBA5A
monochromatic
#4D1F5E #722F8C #983EBA #B168CD #C996DC

Accessibility & contrast

On white

5.63
#983EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#983EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983EBA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983EBA#FFFFFF#000000##FFFFFF
##983EBA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3C6AB7
Tritanopia (blue-blind)
#955677
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #983eba;
/* rgb */ color: rgb(152, 62, 186);
/* oklch */ color: oklch(54.0% 0.196 315.3);
Tailwind
colors: {
  custom: {
    50: '#ba7acf',
    500: '#983eba',
    950: '#000000',
  },
}
SCSS
$custom: #983eba;
$custom-light: #ba7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#983eba",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 283.548,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.196,
    "h": 315.3
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#983EBA
secondary
#9CC88C
accent
#DA4E74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #983EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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