#C979FE#C979FE

#C979FE is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.199 H 310.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C979FE
RGBrgb(201, 121, 254)
HSLhsl(276, 99%, 74%)
HSVhsv(276, 52%, 100%)
CMYKcmyk(20.9%, 52.4%, 0%, 0.4%)
CIE-LABlab(64.36, 54.01, -54.28)
CIE-LCHlch(64.36, 76.57, 314.86°)
OKLaboklab(71.54% 0.1279 -0.152)
OKLCHoklch(71.54% 0.199 310.1)
XYZxyz(48.8108, 33.2489, 97.5931)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C979FE #AEFE79
analogous
#8679FE #C979FE #FE79F1
triadic
#C979FE #FEC979 #79FEC9
tetradic
#C979FE #FE8679 #AEFE79 #79F1FE
square
#C979FE #FE8679 #AEFE79 #79F1FE
split-complementary
#C979FE #F1FE79 #79FE86
monochromatic
#9802FB #B13CFE #C979FE #E1B6FE #F3E1FF

Accessibility & contrast

On white

2.75
#C979FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#C979FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C979FE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C979FE#FFFFFF#000000##000000
##C979FE1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#C290B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c979fe;
/* rgb */ color: rgb(201, 121, 254);
/* oklch */ color: oklch(71.5% 0.199 310.1);
Tailwind
colors: {
  custom: {
    50: '#dca2ff',
    500: '#c979fe',
    950: '#000000',
  },
}
SCSS
$custom: #c979fe;
$custom-light: #dca2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c979fe",
  "rgb": {
    "r": 201,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 276.09,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.1987,
    "h": 310.1
  },
  "luminance": 0.33248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C979FE

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

Preview Lab → · Contrast checker → · Palette generator →

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