#C982DD#C982DD

#C982DD is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.2% C 0.148 H 318.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C982DD
RGBrgb(201, 130, 221)
HSLhsl(287, 57%, 69%)
HSVhsv(287, 41%, 87%)
CMYKcmyk(9%, 41.2%, 0%, 13.3%)
CIE-LABlab(64.65, 42.42, -35.60)
CIE-LCHlch(64.65, 55.38, 320.00°)
OKLaboklab(71.25% 0.1112 -0.098)
OKLCHoklch(71.25% 0.148 318.6)
XYZxyz(45.1194, 33.6046, 72.5022)
Luminance0.3360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C982DD #96DD82
analogous
#9C82DD #C982DD #DD82C4
triadic
#C982DD #DDC982 #82DDC9
tetradic
#C982DD #DD9C82 #96DD82 #82C4DD
square
#C982DD #DD9C82 #96DD82 #82C4DD
split-complementary
#C982DD #C4DD82 #82DD9C
monochromatic
#9731B4 #B452D0 #C982DD #DEB2EA #F3E2F7

Accessibility & contrast

On white

2.72
#C982DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#C982DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C982DD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C982DD#FFFFFF#000000##000000
##C982DD1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E0
Deuteranopia (green-blind)
#879FDA
Tritanopia (blue-blind)
#C98EA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c982dd;
/* rgb */ color: rgb(201, 130, 221);
/* oklch */ color: oklch(71.2% 0.148 318.6);
Tailwind
colors: {
  custom: {
    50: '#dba8e8',
    500: '#c982dd',
    950: '#000000',
  },
}
SCSS
$custom: #c982dd;
$custom-light: #dba8e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c982dd",
  "rgb": {
    "r": 201,
    "g": 130,
    "b": 221
  },
  "hsl": {
    "h": 286.813,
    "s": 57.233,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71247,
    "c": 0.14825,
    "h": 318.6
  },
  "luminance": 0.33603
}

Semantic roles & 50–950 ramp

primary
#C982DD
secondary
#D6EBD0
accent
#C52145
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C982DD

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

Preview Lab → · Contrast checker → · Palette generator →

#C982DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva