#CC79FC#CC79FC

#CC79FC is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.8% C 0.198 H 311.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CC79FC
RGBrgb(204, 121, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 52%, 99%)
CMYKcmyk(19%, 52%, 0%, 1.2%)
CIE-LABlab(64.60, 54.35, -52.79)
CIE-LCHlch(64.60, 75.77, 315.84°)
OKLaboklab(71.76% 0.1313 -0.1476)
OKLCHoklch(71.76% 0.198 311.7)
XYZxyz(49.3068, 33.5414, 95.9533)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79FC #A9FC79
analogous
#8A79FC #CC79FC #FC79EB
triadic
#CC79FC #FCCC79 #79FCCC
tetradic
#CC79FC #FC8A79 #A9FC79 #79EBFC
square
#CC79FC #FC8A79 #A9FC79 #79EBFC
split-complementary
#CC79FC #EBFC79 #79FC8A
monochromatic
#9D05F5 #B53DFB #CC79FC #E3B5FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.71
#CC79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79FC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79FC#FFFFFF#000000##000000
##CC79FC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#719EF9
Tritanopia (blue-blind)
#C78FAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc79fc;
/* rgb */ color: rgb(204, 121, 252);
/* oklch */ color: oklch(71.8% 0.198 311.7);
Tailwind
colors: {
  custom: {
    50: '#dea2fe',
    500: '#cc79fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc79fc;
$custom-light: #dea2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79fc",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 278.015,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71756,
    "c": 0.19759,
    "h": 311.7
  },
  "luminance": 0.3354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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