#982DCE#982DCE

#982DCE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.7% C 0.234 H 310.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#982DCE
RGBrgb(152, 45, 206)
HSLhsl(280, 64%, 49%)
HSVhsv(280, 78%, 81%)
CMYKcmyk(26.2%, 78.2%, 0%, 19.2%)
CIE-LABlab(42.78, 67.12, -62.24)
CIE-LCHlch(42.78, 91.54, 317.16°)
OKLaboklab(53.7% 0.1531 -0.1765)
OKLCHoklch(53.7% 0.234 310.9)
XYZxyz(25.0257, 13.0090, 59.5732)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DCE #63CE2D
analogous
#482DCE #982DCE #CE2DB4
triadic
#982DCE #CE982D #2DCE98
tetradic
#982DCE #CE482D #63CE2D #2DB4CE
square
#982DCE #CE482D #63CE2D #2DB4CE
split-complementary
#982DCE #B4CE2D #2DCE48
monochromatic
#4E176A #73229C #982DCE #B15DDC #C98FE7

Accessibility & contrast

On white

5.83
#982DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#982DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DCE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DCE#FFFFFF#000000##FFFFFF
##982DCE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#91557E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #982dce;
/* rgb */ color: rgb(152, 45, 206);
/* oklch */ color: oklch(53.7% 0.234 310.9);
Tailwind
colors: {
  custom: {
    50: '#bc73de',
    500: '#982dce',
    950: '#000000',
  },
}
SCSS
$custom: #982dce;
$custom-light: #bc73de;
$custom-dark: #000000;
JSON
{
  "hex": "#982dce",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 279.876,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.23361,
    "h": 310.9
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#982DCE
secondary
#9FD186
accent
#E74178
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982DCE

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

Preview Lab → · Contrast checker → · Palette generator →

#982DCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva