#CC79F7#CC79F7

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

Color values

HEX#CC79F7
RGBrgb(204, 121, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(17.4%, 51%, 0%, 3.1%)
CIE-LABlab(64.35, 53.30, -50.44)
CIE-LCHlch(64.35, 73.38, 316.58°)
OKLaboklab(71.49% 0.1309 -0.1408)
OKLCHoklch(71.49% 0.192 312.9)
XYZxyz(48.5248, 33.2287, 91.8352)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79F7 #A4F779
analogous
#8D79F7 #CC79F7 #F779E3
triadic
#CC79F7 #F7CC79 #79F7CC
tetradic
#CC79F7 #F78D79 #A4F779 #79E3F7
square
#CC79F7 #F78D79 #A4F779 #79E3F7
split-complementary
#CC79F7 #E3F779 #79F78D
monochromatic
#9D0EE8 #B63FF4 #CC79F7 #E2B3FA #F4E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC79F7#FFFFFF#000000##000000
##CC79F71.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)
#5A98FB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#C88DAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc79f7;
/* rgb */ color: rgb(204, 121, 247);
/* oklch */ color: oklch(71.5% 0.192 312.9);
Tailwind
colors: {
  custom: {
    50: '#dea2fa',
    500: '#cc79f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc79f7;
$custom-light: #dea2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79f7",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 279.524,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71488,
    "c": 0.19223,
    "h": 312.9
  },
  "luminance": 0.33228
}

Semantic roles & 50–950 ramp

primary
#CC79F7
secondary
#E0F5D6
accent
#E5004E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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