#CC79CC#CC79CC

#CC79CC is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.4% C 0.148 H 327.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CC79CC
RGBrgb(204, 121, 204)
HSLhsl(300, 45%, 64%)
HSVhsv(300, 41%, 80%)
CMYKcmyk(0%, 40.7%, 0%, 20%)
CIE-LABlab(62.40, 44.82, -29.55)
CIE-LCHlch(62.40, 53.68, 326.61°)
OKLaboklab(69.41% 0.1243 -0.0806)
OKLCHoklch(69.41% 0.148 327)
XYZxyz(42.6375, 30.8737, 60.8284)
Luminance0.3087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79CC #79CC79
analogous
#A279CC #CC79CC #CC79A2
triadic
#CC79CC #CCCC79 #79CCCC
tetradic
#CC79CC #CCA279 #79CC79 #79A2CC
square
#CC79CC #CCA279 #79CC79 #79A2CC
split-complementary
#CC79CC #A2CC79 #79CCA2
monochromatic
#933893 #BB4DBB #CC79CC #DDA5DD #EED2EE

Accessibility & contrast

On white

2.93
#CC79CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CC79CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79CC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79CC#FFFFFF#000000##000000
##CC79CC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CF
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#D18199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc79cc;
/* rgb */ color: rgb(204, 121, 204);
/* oklch */ color: oklch(69.4% 0.148 327.0);
Tailwind
colors: {
  custom: {
    50: '#dda2db',
    500: '#cc79cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc79cc;
$custom-light: #dda2db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79cc",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69406,
    "c": 0.14814,
    "h": 327
  },
  "luminance": 0.30872
}

Semantic roles & 50–950 ramp

primary
#CC79CC
secondary
#C2DFC2
accent
#B82D2D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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