#C978FE#C978FE

#C978FE is a light, highly saturated violet. Relative luminance 0.330; OKLCH L 71.4% C 0.200 H 310.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C978FE
RGBrgb(201, 120, 254)
HSLhsl(276, 99%, 73%)
HSVhsv(276, 53%, 100%)
CMYKcmyk(20.9%, 52.8%, 0%, 0.4%)
CIE-LABlab(64.17, 54.52, -54.59)
CIE-LCHlch(64.17, 77.16, 314.97°)
OKLaboklab(71.4% 0.1292 -0.1529)
OKLCHoklch(71.4% 0.2 310.2)
XYZxyz(48.6899, 33.0071, 97.5528)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C978FE #ADFE78
analogous
#8678FE #C978FE #FE78F0
triadic
#C978FE #FEC978 #78FEC9
tetradic
#C978FE #FE8678 #ADFE78 #78F0FE
square
#C978FE #FE8678 #ADFE78 #78F0FE
split-complementary
#C978FE #F0FE78 #78FE86
monochromatic
#9802FA #B13BFE #C978FE #E1B5FE #F3E1FF

Accessibility & contrast

On white

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

On black

7.60
#C978FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C978FE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C978FE#FFFFFF#000000##000000
##C978FE1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c978fe;
/* rgb */ color: rgb(201, 120, 254);
/* oklch */ color: oklch(71.4% 0.200 310.2);
Tailwind
colors: {
  custom: {
    50: '#dca2ff',
    500: '#c978fe',
    950: '#000000',
  },
}
SCSS
$custom: #c978fe;
$custom-light: #dca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c978fe",
  "rgb": {
    "r": 201,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 276.269,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.20022,
    "h": 310.2
  },
  "luminance": 0.33006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C978FE

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

Preview Lab → · Contrast checker → · Palette generator →

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