#C978FF#C978FF

#C978FF is a light, highly saturated violet. Relative luminance 0.331; OKLCH L 71.5% C 0.201 H 310.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C978FF
RGBrgb(201, 120, 255)
HSLhsl(276, 100%, 74%)
HSVhsv(276, 53%, 100%)
CMYKcmyk(21.2%, 52.9%, 0%, 0%)
CIE-LABlab(64.22, 54.74, -55.05)
CIE-LCHlch(64.22, 77.64, 314.84°)
OKLaboklab(71.45% 0.1293 -0.1543)
OKLCHoklch(71.45% 0.201 310)
XYZxyz(48.8505, 33.0713, 98.3983)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978FF #AEFF78
analogous
#8578FF #C978FF #FF78F1
triadic
#C978FF #FFC978 #78FFC9
tetradic
#C978FF #FF8578 #AEFF78 #78F1FF
square
#C978FF #FF8578 #AEFF78 #78F1FF
split-complementary
#C978FF #F1FF78 #78FF85
monochromatic
#9800FD #B13BFF #C978FF #E1B5FF #F3E0FF

Accessibility & contrast

On white

2.76
#C978FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C978FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978FF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978FF#FFFFFF#000000##000000
##C978FF1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#C28FB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c978ff;
/* rgb */ color: rgb(201, 120, 255);
/* oklch */ color: oklch(71.5% 0.201 310.0);
Tailwind
colors: {
  custom: {
    50: '#dca2ff',
    500: '#c978ff',
    950: '#000000',
  },
}
SCSS
$custom: #c978ff;
$custom-light: #dca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c978ff",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 276,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71452,
    "c": 0.2013,
    "h": 310
  },
  "luminance": 0.3307
}

Semantic roles & 50–950 ramp

primary
#C978FF
secondary
#E2F7D4
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C978FF

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

Preview Lab → · Contrast checker → · Palette generator →

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