#C980EF#C980EF

#C980EF is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.8% C 0.171 H 313.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#C980EF
RGBrgb(201, 128, 239)
HSLhsl(279, 78%, 72%)
HSVhsv(279, 46%, 94%)
CMYKcmyk(15.9%, 46.4%, 0%, 6.3%)
CIE-LABlab(65.03, 47.18, -44.97)
CIE-LCHlch(65.03, 65.18, 316.38°)
OKLaboklab(71.8% 0.117 -0.125)
OKLCHoklch(71.8% 0.171 313.1)
XYZxyz(47.3839, 34.0889, 85.7283)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C980EF #A6EF80
analogous
#9280EF #C980EF #EF80DE
triadic
#C980EF #EFC980 #80EFC9
tetradic
#C980EF #EF9280 #A6EF80 #80DEEF
square
#C980EF #EF9280 #A6EF80 #80DEEF
split-complementary
#C980EF #DEEF80 #80EF92
monochromatic
#981BD9 #B24AE8 #C980EF #E0B6F6 #F3E4FC

Accessibility & contrast

On white

2.69
#C980EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#C980EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C980EF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C980EF#FFFFFF#000000##000000
##C980EF1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#C691AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c980ef;
/* rgb */ color: rgb(201, 128, 239);
/* oklch */ color: oklch(71.8% 0.171 313.1);
Tailwind
colors: {
  custom: {
    50: '#dba6f4',
    500: '#c980ef',
    950: '#000000',
  },
}
SCSS
$custom: #c980ef;
$custom-light: #dba6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c980ef",
  "rgb": {
    "r": 201,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 279.459,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71799,
    "c": 0.17124,
    "h": 313.1
  },
  "luminance": 0.34088
}

Semantic roles & 50–950 ramp

primary
#C980EF
secondary
#E1F3D7
accent
#DA0C52
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C980EF

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

Preview Lab → · Contrast checker → · Palette generator →

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