#C978FA#C978FA

#C978FA is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.2% C 0.196 H 311.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C978FA
RGBrgb(201, 120, 250)
HSLhsl(277, 93%, 73%)
HSVhsv(277, 52%, 98%)
CMYKcmyk(19.6%, 52%, 0%, 2%)
CIE-LABlab(63.96, 53.67, -52.72)
CIE-LCHlch(63.96, 75.23, 315.51°)
OKLaboklab(71.18% 0.1289 -0.1475)
OKLCHoklch(71.18% 0.196 311.2)
XYZxyz(48.0561, 32.7535, 94.2145)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978FA #A9FA78
analogous
#8878FA #C978FA #FA78EA
triadic
#C978FA #FAC978 #78FAC9
tetradic
#C978FA #FA8878 #A9FA78 #78EAFA
square
#C978FA #FA8878 #A9FA78 #78EAFA
split-complementary
#C978FA #EAFA78 #78FA88
monochromatic
#9809EF #B13DF8 #C978FA #E1B3FC #F3E1FE

Accessibility & contrast

On white

2.78
#C978FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C978FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978FA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978FA#FFFFFF#000000##000000
##C978FA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#C38EAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c978fa;
/* rgb */ color: rgb(201, 120, 250);
/* oklch */ color: oklch(71.2% 0.196 311.2);
Tailwind
colors: {
  custom: {
    50: '#dca1fc',
    500: '#c978fa',
    950: '#000000',
  },
}
SCSS
$custom: #c978fa;
$custom-light: #dca1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c978fa",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 277.385,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71178,
    "c": 0.19589,
    "h": 311.2
  },
  "luminance": 0.32753
}

Semantic roles & 50–950 ramp

primary
#C978FA
secondary
#E1F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C978FA

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

Preview Lab → · Contrast checker → · Palette generator →

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