#CC79FE#CC79FE

#CC79FE is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.9% C 0.200 H 311.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CC79FE
RGBrgb(204, 121, 254)
HSLhsl(277, 99%, 74%)
HSVhsv(277, 52%, 100%)
CMYKcmyk(19.7%, 52.4%, 0%, 0.4%)
CIE-LABlab(64.70, 54.78, -53.72)
CIE-LCHlch(64.70, 76.72, 315.56°)
OKLaboklab(71.86% 0.1315 -0.1504)
OKLCHoklch(71.86% 0.2 311.2)
XYZxyz(49.6254, 33.6689, 97.6312)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79FE #ABFE79
analogous
#8979FE #CC79FE #FE79ED
triadic
#CC79FE #FECC79 #79FECC
tetradic
#CC79FE #FE8979 #ABFE79 #79EDFE
square
#CC79FE #FE8979 #ABFE79 #79EDFE
split-complementary
#CC79FE #EDFE79 #79FE89
monochromatic
#9D02FB #B53CFE #CC79FE #E3B6FE #F3E1FF

Accessibility & contrast

On white

2.72
#CC79FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CC79FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79FE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79FE#FFFFFF#000000##000000
##CC79FE1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#C690B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc79fe;
/* rgb */ color: rgb(204, 121, 254);
/* oklch */ color: oklch(71.9% 0.200 311.2);
Tailwind
colors: {
  custom: {
    50: '#dea2ff',
    500: '#cc79fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc79fe;
$custom-light: #dea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79fe",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 277.444,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.19974,
    "h": 311.2
  },
  "luminance": 0.33668
}

Semantic roles & 50–950 ramp

primary
#CC79FE
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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