#CC79F9#CC79F9

#CC79F9 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.194 H 312.4°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CC79F9
RGBrgb(204, 121, 249)
HSLhsl(279, 91%, 73%)
HSVhsv(279, 51%, 98%)
CMYKcmyk(18.1%, 51.4%, 0%, 2.4%)
CIE-LABlab(64.45, 53.72, -51.38)
CIE-LCHlch(64.45, 74.33, 316.28°)
OKLaboklab(71.6% 0.1311 -0.1435)
OKLCHoklch(71.6% 0.194 312.4)
XYZxyz(48.8351, 33.3528, 93.4693)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79F9 #A6F979
analogous
#8C79F9 #CC79F9 #F979E6
triadic
#CC79F9 #F9CC79 #79F9CC
tetradic
#CC79F9 #F98C79 #A6F979 #79E6F9
square
#CC79F9 #F98C79 #A6F979 #79E6F9
split-complementary
#CC79F9 #E6F979 #79F98C
monochromatic
#9D0BED #B63EF6 #CC79F9 #E2B4FC #F4E2FE

Accessibility & contrast

On white

2.74
#CC79F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CC79F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79F9
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79F9#FFFFFF#000000##000000
##CC79F91.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#C78EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc79f9;
/* rgb */ color: rgb(204, 121, 249);
/* oklch */ color: oklch(71.6% 0.194 312.4);
Tailwind
colors: {
  custom: {
    50: '#dea2fc',
    500: '#cc79f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc79f9;
$custom-light: #dea2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79f9",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 278.906,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71595,
    "c": 0.19438,
    "h": 312.4
  },
  "luminance": 0.33352
}

Semantic roles & 50–950 ramp

primary
#CC79F9
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79F9

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

Preview Lab → · Contrast checker → · Palette generator →

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