#982ED3#982ED3

#982ED3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.2% C 0.237 H 309.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#982ED3
RGBrgb(152, 46, 211)
HSLhsl(279, 65%, 50%)
HSVhsv(279, 78%, 83%)
CMYKcmyk(28%, 78.2%, 0%, 17.3%)
CIE-LABlab(43.26, 67.81, -64.34)
CIE-LCHlch(43.26, 93.47, 316.50°)
OKLaboklab(54.16% 0.1512 -0.1826)
OKLCHoklch(54.16% 0.237 309.6)
XYZxyz(25.6814, 13.3331, 62.8361)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982ED3 #69D32E
analogous
#452ED3 #982ED3 #D32EBC
triadic
#982ED3 #D3982E #2ED398
tetradic
#982ED3 #D3452E #69D32E #2EBCD3
square
#982ED3 #D3452E #69D32E #2EBCD3
split-complementary
#982ED3 #BCD32E #2ED345
monochromatic
#50176F #7422A2 #982ED3 #B161DE #CA93E8

Accessibility & contrast

On white

5.73
#982ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#982ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982ED3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982ED3#FFFFFF#000000##FFFFFF
##982ED31.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#8F5881
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #982ed3;
/* rgb */ color: rgb(152, 46, 211);
/* oklch */ color: oklch(54.2% 0.237 309.6);
Tailwind
colors: {
  custom: {
    50: '#bc73e1',
    500: '#982ed3',
    950: '#000000',
  },
}
SCSS
$custom: #982ed3;
$custom-light: #bc73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#982ed3",
  "rgb": {
    "r": 152,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 278.545,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.23712,
    "h": 309.6
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

primary
#982ED3
secondary
#A4D38A
accent
#E8407C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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