#983ECC#983ECC

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

Color values

HEX#983ECC
RGBrgb(152, 62, 204)
HSLhsl(278, 58%, 52%)
HSVhsv(278, 70%, 80%)
CMYKcmyk(25.5%, 69.6%, 0%, 20%)
CIE-LABlab(44.91, 60.21, -57.62)
CIE-LCHlch(44.91, 83.34, 316.26°)
OKLaboklab(55.17% 0.1379 -0.163)
OKLCHoklch(55.17% 0.213 310.2)
XYZxyz(25.5685, 14.4808, 58.5632)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983ECC #72CC3E
analogous
#513ECC #983ECC #CC3EB9
triadic
#983ECC #CC983E #3ECC98
tetradic
#983ECC #CC513E #72CC3E #3EB9CC
square
#983ECC #CC513E #72CC3E #3EB9CC
split-complementary
#983ECC #B9CC3E #3ECC51
monochromatic
#531E72 #762BA2 #983ECC #B26ED9 #CC9FE6

Accessibility & contrast

On white

5.39
#983ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#983ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983ECC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983ECC#FFFFFF#000000##FFFFFF
##983ECC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#266CC9
Tritanopia (blue-blind)
#915D81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #983ecc;
/* rgb */ color: rgb(152, 62, 204);
/* oklch */ color: oklch(55.2% 0.213 310.2);
Tailwind
colors: {
  custom: {
    50: '#bb7adc',
    500: '#983ecc',
    950: '#000000',
  },
}
SCSS
$custom: #983ecc;
$custom-light: #bb7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#983ecc",
  "rgb": {
    "r": 152,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 278.028,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.21348,
    "h": 310.2
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#983ECC
secondary
#ABD294
accent
#E1467F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #983ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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