#CC79CE#CC79CE

#CC79CE is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.5% C 0.150 H 326.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CC79CE
RGBrgb(204, 121, 206)
HSLhsl(299, 46%, 64%)
HSVhsv(299, 41%, 81%)
CMYKcmyk(1%, 41.3%, 0%, 19.2%)
CIE-LABlab(62.48, 45.19, -30.54)
CIE-LCHlch(62.48, 54.54, 325.94°)
OKLaboklab(69.49% 0.1247 -0.0835)
OKLCHoklch(69.49% 0.15 326.2)
XYZxyz(42.8789, 30.9703, 62.0998)
Luminance0.3097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79CE #7BCE79
analogous
#A279CE #CC79CE #CE79A6
triadic
#CC79CE #CECC79 #79CECC
tetradic
#CC79CE #CEA279 #7BCE79 #79A6CE
square
#CC79CE #CEA279 #7BCE79 #79A6CE
split-complementary
#CC79CE #A6CE79 #79CEA2
monochromatic
#943796 #BB4CBE #CC79CE #DDA6DE #EED3EF

Accessibility & contrast

On white

2.92
#CC79CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CC79CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79CE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79CE#FFFFFF#000000##000000
##CC79CE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D1
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#D0829A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc79ce;
/* rgb */ color: rgb(204, 121, 206);
/* oklch */ color: oklch(69.5% 0.150 326.2);
Tailwind
colors: {
  custom: {
    50: '#dda2dd',
    500: '#cc79ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ce;
$custom-light: #dda2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ce",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 298.588,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69494,
    "c": 0.15007,
    "h": 326.2
  },
  "luminance": 0.30968
}

Semantic roles & 50–950 ramp

primary
#CC79CE
secondary
#C3E0C3
accent
#BA2C2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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