#C982EA#C982EA

#C982EA is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.9% C 0.162 H 314.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#C982EA
RGBrgb(201, 130, 234)
HSLhsl(281, 71%, 71%)
HSVhsv(281, 44%, 92%)
CMYKcmyk(14.1%, 44.4%, 0%, 8.2%)
CIE-LABlab(65.22, 45.08, -41.91)
CIE-LCHlch(65.22, 61.55, 317.08°)
OKLaboklab(71.86% 0.1135 -0.1162)
OKLCHoklch(71.86% 0.162 314.3)
XYZxyz(46.9189, 34.3244, 81.9796)
Luminance0.3432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C982EA #A3EA82
analogous
#9582EA #C982EA #EA82D7
triadic
#C982EA #EAC982 #82EAC9
tetradic
#C982EA #EA9582 #A3EA82 #82D7EA
square
#C982EA #EA9582 #A3EA82 #82D7EA
split-complementary
#C982EA #D7EA82 #82EA95
monochromatic
#9823CF #B24EE1 #C982EA #E0B6F3 #F4E5FB

Accessibility & contrast

On white

2.67
#C982EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#C982EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C982EA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C982EA#FFFFFF#000000##000000
##C982EA1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#C791AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c982ea;
/* rgb */ color: rgb(201, 130, 234);
/* oklch */ color: oklch(71.9% 0.162 314.3);
Tailwind
colors: {
  custom: {
    50: '#dba8f1',
    500: '#c982ea',
    950: '#000000',
  },
}
SCSS
$custom: #c982ea;
$custom-light: #dba8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c982ea",
  "rgb": {
    "r": 201,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 280.962,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71862,
    "c": 0.16244,
    "h": 314.3
  },
  "luminance": 0.34323
}

Semantic roles & 50–950 ramp

primary
#C982EA
secondary
#DFF1D6
accent
#D3124F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C982EA

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

Preview Lab → · Contrast checker → · Palette generator →

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