#982DD0#982DD0

#982DD0 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.9% C 0.235 H 310.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#982DD0
RGBrgb(152, 45, 208)
HSLhsl(279, 64%, 50%)
HSVhsv(279, 78%, 82%)
CMYKcmyk(26.9%, 78.4%, 0%, 18.4%)
CIE-LABlab(42.92, 67.53, -63.16)
CIE-LCHlch(42.92, 92.46, 316.92°)
OKLaboklab(53.85% 0.1527 -0.1792)
OKLCHoklch(53.85% 0.235 310.4)
XYZxyz(25.2702, 13.1068, 60.8609)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DD0 #65D02D
analogous
#472DD0 #982DD0 #D02DB6
triadic
#982DD0 #D0982D #2DD098
tetradic
#982DD0 #D0472D #65D02D #2DB6D0
square
#982DD0 #D0472D #65D02D #2DB6D0
split-complementary
#982DD0 #B6D02D #2DD047
monochromatic
#4E176B #73229E #982DD0 #B15EDC #C990E7

Accessibility & contrast

On white

5.80
#982DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#982DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DD0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DD0#FFFFFF#000000##FFFFFF
##982DD01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#90567F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #982dd0;
/* rgb */ color: rgb(152, 45, 208);
/* oklch */ color: oklch(53.9% 0.235 310.4);
Tailwind
colors: {
  custom: {
    50: '#bc73df',
    500: '#982dd0',
    950: '#000000',
  },
}
SCSS
$custom: #982dd0;
$custom-light: #bc73df;
$custom-dark: #000000;
JSON
{
  "hex": "#982dd0",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 208
  },
  "hsl": {
    "h": 279.387,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.23538,
    "h": 310.4
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#982DD0
secondary
#A1D287
accent
#E7407A
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #982DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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