#CC79DF#CC79DF

#CC79DF is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.3% C 0.167 H 319.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CC79DF
RGBrgb(204, 121, 223)
HSLhsl(289, 61%, 67%)
HSVhsv(289, 46%, 87%)
CMYKcmyk(8.5%, 45.7%, 0%, 12.5%)
CIE-LABlab(63.21, 48.43, -38.93)
CIE-LCHlch(63.21, 62.14, 321.21°)
OKLaboklab(70.28% 0.1279 -0.1075)
OKLCHoklch(70.28% 0.167 319.9)
XYZxyz(45.0568, 31.8415, 73.5703)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79DF #8CDF79
analogous
#9979DF #CC79DF #DF79BF
triadic
#CC79DF #DFCC79 #79DFCC
tetradic
#CC79DF #DF9979 #8CDF79 #79BFDF
square
#CC79DF #DF9979 #8CDF79 #79BFDF
split-complementary
#CC79DF #BFDF79 #79DF99
monochromatic
#9A2BB3 #B948D3 #CC79DF #DFAAEB #F2DCF7

Accessibility & contrast

On white

2.85
#CC79DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CC79DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79DF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79DF#FFFFFF#000000##000000
##CC79DF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E3
Deuteranopia (green-blind)
#819CDC
Tritanopia (blue-blind)
#CD86A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc79df;
/* rgb */ color: rgb(204, 121, 223);
/* oklch */ color: oklch(70.3% 0.167 319.9);
Tailwind
colors: {
  custom: {
    50: '#dda2e9',
    500: '#cc79df',
    950: '#000000',
  },
}
SCSS
$custom: #cc79df;
$custom-light: #dda2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79df",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 288.824,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70277,
    "c": 0.16702,
    "h": 319.9
  },
  "luminance": 0.3184
}

Semantic roles & 50–950 ramp

primary
#CC79DF
secondary
#D0EACA
accent
#C91C3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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