#C978FD#C978FD

#C978FD is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.199 H 310.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#C978FD
RGBrgb(201, 120, 253)
HSLhsl(277, 97%, 73%)
HSVhsv(277, 53%, 99%)
CMYKcmyk(20.6%, 52.6%, 0%, 0.8%)
CIE-LABlab(64.11, 54.31, -54.12)
CIE-LCHlch(64.11, 76.67, 315.10°)
OKLaboklab(71.34% 0.1291 -0.1516)
OKLCHoklch(71.34% 0.199 310.4)
XYZxyz(48.5302, 32.9432, 96.7116)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978FD #ACFD78
analogous
#8678FD #C978FD #FD78EF
triadic
#C978FD #FDC978 #78FDC9
tetradic
#C978FD #FD8678 #ACFD78 #78EFFD
square
#C978FD #FD8678 #ACFD78 #78EFFD
split-complementary
#C978FD #EFFD78 #78FD86
monochromatic
#9804F7 #B13CFC #C978FD #E1B4FE #F3E1FF

Accessibility & contrast

On white

2.77
#C978FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#C978FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978FD
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978FD#FFFFFF#000000##000000
##C978FD1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#C38FAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c978fd;
/* rgb */ color: rgb(201, 120, 253);
/* oklch */ color: oklch(71.3% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#dca2fe',
    500: '#c978fd',
    950: '#000000',
  },
}
SCSS
$custom: #c978fd;
$custom-light: #dca2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c978fd",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 276.541,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71342,
    "c": 0.19913,
    "h": 310.4
  },
  "luminance": 0.32942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C978FD

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

Preview Lab → · Contrast checker → · Palette generator →

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