#C982EF#C982EF

#C982EF is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.1% C 0.168 H 312.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#C982EF
RGBrgb(201, 130, 239)
HSLhsl(279, 77%, 72%)
HSVhsv(279, 46%, 94%)
CMYKcmyk(15.9%, 45.6%, 0%, 6.3%)
CIE-LABlab(65.45, 46.12, -44.31)
CIE-LCHlch(65.45, 63.96, 316.15°)
OKLaboklab(72.11% 0.1143 -0.1231)
OKLCHoklch(72.11% 0.168 312.9)
XYZxyz(47.6474, 34.6158, 85.8161)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C982EF #A8EF82
analogous
#9382EF #C982EF #EF82DE
triadic
#C982EF #EFC982 #82EFC9
tetradic
#C982EF #EF9382 #A8EF82 #82DEEF
square
#C982EF #EF9382 #A8EF82 #82DEEF
split-complementary
#C982EF #DEEF82 #82EF93
monochromatic
#981CDB #B24CE8 #C982EF #E0B8F6 #F3E4FC

Accessibility & contrast

On white

2.65
#C982EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#C982EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C982EF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C982EF#FFFFFF#000000##000000
##C982EF1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#C692AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c982ef;
/* rgb */ color: rgb(201, 130, 239);
/* oklch */ color: oklch(72.1% 0.168 312.9);
Tailwind
colors: {
  custom: {
    50: '#dba8f4',
    500: '#c982ef',
    950: '#000000',
  },
}
SCSS
$custom: #c982ef;
$custom-light: #dba8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c982ef",
  "rgb": {
    "r": 201,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 279.083,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72108,
    "c": 0.16799,
    "h": 312.9
  },
  "luminance": 0.34615
}

Semantic roles & 50–950 ramp

primary
#C982EF
secondary
#E1F3D8
accent
#DA0C54
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C982EF

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

Preview Lab → · Contrast checker → · Palette generator →

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