#CC79D9#CC79D9

#CC79D9 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.161 H 322.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CC79D9
RGBrgb(204, 121, 217)
HSLhsl(292, 56%, 66%)
HSVhsv(292, 44%, 85%)
CMYKcmyk(6%, 44.2%, 0%, 14.9%)
CIE-LABlab(62.95, 47.27, -35.99)
CIE-LCHlch(62.95, 59.41, 322.71°)
OKLaboklab(69.99% 0.1268 -0.099)
OKLCHoklch(69.99% 0.161 322)
XYZxyz(44.2622, 31.5236, 69.3853)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79D9 #86D979
analogous
#9C79D9 #CC79D9 #D979B6
triadic
#CC79D9 #D9CC79 #79D9CC
tetradic
#CC79D9 #D99C79 #86D979 #79B6D9
square
#CC79D9 #D99C79 #86D979 #79B6D9
split-complementary
#CC79D9 #B6D979 #79D99C
monochromatic
#9830A8 #BA49CB #CC79D9 #DEA9E7 #F0D8F4

Accessibility & contrast

On white

2.87
#CC79D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CC79D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79D9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79D9#FFFFFF#000000##000000
##CC79D91.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DC
Deuteranopia (green-blind)
#839CD6
Tritanopia (blue-blind)
#CE859F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc79d9;
/* rgb */ color: rgb(204, 121, 217);
/* oklch */ color: oklch(70.0% 0.161 322.0);
Tailwind
colors: {
  custom: {
    50: '#dda2e5',
    500: '#cc79d9',
    950: '#000000',
  },
}
SCSS
$custom: #cc79d9;
$custom-light: #dda2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79d9",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 291.875,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69993,
    "c": 0.16092,
    "h": 322
  },
  "luminance": 0.31522
}

Semantic roles & 50–950 ramp

primary
#CC79D9
secondary
#CBE7C7
accent
#C32238
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CC79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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