#983ECD#983ECD

#983ECD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.2% C 0.214 H 310.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#983ECD
RGBrgb(152, 62, 205)
HSLhsl(278, 59%, 52%)
HSVhsv(278, 70%, 80%)
CMYKcmyk(25.9%, 69.8%, 0%, 19.6%)
CIE-LABlab(44.98, 60.42, -58.09)
CIE-LCHlch(44.98, 83.82, 316.13°)
OKLaboklab(55.24% 0.1377 -0.1644)
OKLCHoklch(55.24% 0.214 310)
XYZxyz(25.6888, 14.5290, 59.1969)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983ECD #73CD3E
analogous
#503ECD #983ECD #CD3EBB
triadic
#983ECD #CD983E #3ECD98
tetradic
#983ECD #CD503E #73CD3E #3EBBCD
square
#983ECD #CD503E #73CD3E #3EBBCD
split-complementary
#983ECD #BBCD3E #3ECD50
monochromatic
#531E73 #772AA3 #983ECD #B26FDA #CC9FE6

Accessibility & contrast

On white

5.38
#983ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#983ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983ECD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983ECD#FFFFFF#000000##FFFFFF
##983ECD1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#246CCA
Tritanopia (blue-blind)
#915D81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #983ecd;
/* rgb */ color: rgb(152, 62, 205);
/* oklch */ color: oklch(55.2% 0.214 310.0);
Tailwind
colors: {
  custom: {
    50: '#bb7bdd',
    500: '#983ecd',
    950: '#000000',
  },
}
SCSS
$custom: #983ecd;
$custom-light: #bb7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#983ecd",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 277.762,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5524,
    "c": 0.21445,
    "h": 310
  },
  "luminance": 0.14528
}

Semantic roles & 50–950 ramp

primary
#983ECD
secondary
#ABD394
accent
#E24680
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #983ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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