#CC79C8#CC79C8

#CC79C8 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.2% C 0.144 H 328.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CC79C8
RGBrgb(204, 121, 200)
HSLhsl(303, 45%, 64%)
HSVhsv(303, 41%, 80%)
CMYKcmyk(0%, 40.7%, 2%, 20%)
CIE-LABlab(62.24, 44.09, -27.54)
CIE-LCHlch(62.24, 51.98, 328.01°)
OKLaboklab(69.23% 0.1234 -0.0749)
OKLCHoklch(69.23% 0.144 328.7)
XYZxyz(42.1639, 30.6843, 58.3341)
Luminance0.3068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79C8 #79CC7D
analogous
#A679CC #CC79C8 #CC799E
triadic
#CC79C8 #C8CC79 #79C8CC
tetradic
#CC79C8 #CCA679 #79CC7D #799ECC
square
#CC79C8 #CCA679 #79CC7D #799ECC
split-complementary
#CC79C8 #9ECC79 #79CCA6
monochromatic
#93388E #BB4DB6 #CC79C8 #DDA5DA #EED2EC

Accessibility & contrast

On white

2.94
#CC79C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CC79C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79C8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79C8#FFFFFF#000000##000000
##CC79C81.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CB
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#D18097
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc79c8;
/* rgb */ color: rgb(204, 121, 200);
/* oklch */ color: oklch(69.2% 0.144 328.7);
Tailwind
colors: {
  custom: {
    50: '#dda2d9',
    500: '#cc79c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc79c8;
$custom-light: #dda2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79c8",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 302.892,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69233,
    "c": 0.14438,
    "h": 328.7
  },
  "luminance": 0.30682
}

Semantic roles & 50–950 ramp

primary
#CC79C8
secondary
#C2DFC3
accent
#B8342D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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