#982DC0#982DC0

#982DC0 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.221 H 314.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#982DC0
RGBrgb(152, 45, 192)
HSLhsl(284, 62%, 46%)
HSVhsv(284, 77%, 75%)
CMYKcmyk(20.8%, 76.6%, 0%, 24.7%)
CIE-LABlab(41.78, 64.32, -55.71)
CIE-LCHlch(41.78, 85.09, 319.10°)
OKLaboklab(52.69% 0.1557 -0.1573)
OKLCHoklch(52.69% 0.221 314.7)
XYZxyz(23.4001, 12.3588, 51.0118)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982DC0 #55C02D
analogous
#4E2DC0 #982DC0 #C02D9F
triadic
#982DC0 #C0982D #2DC098
tetradic
#982DC0 #C04E2D #55C02D #2D9FC0
square
#982DC0 #C04E2D #55C02D #2D9FC0
split-complementary
#982DC0 #9FC02D #2DC04E
monochromatic
#49165D #71218E #982DC0 #B353D7 #C985E2

Accessibility & contrast

On white

6.05
#982DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#982DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982DC0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982DC0#FFFFFF#000000##FFFFFF
##982DC01.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#2465BD
Tritanopia (blue-blind)
#944F76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #982dc0;
/* rgb */ color: rgb(152, 45, 192);
/* oklch */ color: oklch(52.7% 0.221 314.7);
Tailwind
colors: {
  custom: {
    50: '#bb72d4',
    500: '#982dc0',
    950: '#000000',
  },
}
SCSS
$custom: #982dc0;
$custom-light: #bb72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#982dc0",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 283.673,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52688,
    "c": 0.2213,
    "h": 314.7
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#982DC0
secondary
#92CC7D
accent
#E5436F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #982DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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