#CC79DC#CC79DC

#CC79DC is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.1% C 0.164 H 321.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CC79DC
RGBrgb(204, 121, 220)
HSLhsl(290, 59%, 67%)
HSVhsv(290, 45%, 86%)
CMYKcmyk(7.3%, 45%, 0%, 13.7%)
CIE-LABlab(63.08, 47.85, -37.46)
CIE-LCHlch(63.08, 60.77, 321.94°)
OKLaboklab(70.13% 0.1274 -0.1033)
OKLCHoklch(70.13% 0.164 321)
XYZxyz(44.6560, 31.6811, 71.4591)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79DC #89DC79
analogous
#9B79DC #CC79DC #DC79BB
triadic
#CC79DC #DCCC79 #79DCCC
tetradic
#CC79DC #DC9B79 #89DC79 #79BBDC
square
#CC79DC #DC9B79 #89DC79 #79BBDC
split-complementary
#CC79DC #BBDC79 #79DC9B
monochromatic
#992DAD #BA48CF #CC79DC #DEAAE9 #F1DAF5

Accessibility & contrast

On white

2.86
#CC79DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CC79DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79DC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79DC#FFFFFF#000000##000000
##CC79DC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DF
Deuteranopia (green-blind)
#829CD9
Tritanopia (blue-blind)
#CE85A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc79dc;
/* rgb */ color: rgb(204, 121, 220);
/* oklch */ color: oklch(70.1% 0.164 321.0);
Tailwind
colors: {
  custom: {
    50: '#dda2e7',
    500: '#cc79dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc79dc;
$custom-light: #dda2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79dc",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 290.303,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.16396,
    "h": 321
  },
  "luminance": 0.31679
}

Semantic roles & 50–950 ramp

primary
#CC79DC
secondary
#CEE8C9
accent
#C61F3A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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