#C978FB#C978FB

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

Color values

HEX#C978FB
RGBrgb(201, 120, 251)
HSLhsl(277, 94%, 73%)
HSVhsv(277, 52%, 98%)
CMYKcmyk(19.9%, 52.2%, 0%, 1.6%)
CIE-LABlab(64.01, 53.88, -53.19)
CIE-LCHlch(64.01, 75.71, 315.37°)
OKLaboklab(71.23% 0.129 -0.1489)
OKLCHoklch(71.23% 0.197 310.9)
XYZxyz(48.2133, 32.8164, 95.0425)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978FB #AAFB78
analogous
#8778FB #C978FB #FB78EC
triadic
#C978FB #FBC978 #78FBC9
tetradic
#C978FB #FB8778 #AAFB78 #78ECFB
square
#C978FB #FB8778 #AAFB78 #78ECFB
split-complementary
#C978FB #ECFB78 #78FB87
monochromatic
#9807F1 #B13DF9 #C978FB #E1B3FD #F3E1FE

Accessibility & contrast

On white

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

On black

7.56
#C978FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978FB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978FB#FFFFFF#000000##000000
##C978FB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#6E9DF8
Tritanopia (blue-blind)
#C38EAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c978fb;
/* rgb */ color: rgb(201, 120, 251);
/* oklch */ color: oklch(71.2% 0.197 310.9);
Tailwind
colors: {
  custom: {
    50: '#dca1fd',
    500: '#c978fb',
    950: '#000000',
  },
}
SCSS
$custom: #c978fb;
$custom-light: #dca1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c978fb",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 277.099,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71233,
    "c": 0.19696,
    "h": 310.9
  },
  "luminance": 0.32815
}

Semantic roles & 50–950 ramp

primary
#C978FB
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C978FB

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

Preview Lab → · Contrast checker → · Palette generator →

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