#CC79CD#CC79CD

#CC79CD is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.5% C 0.149 H 326.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CC79CD
RGBrgb(204, 121, 205)
HSLhsl(299, 46%, 64%)
HSVhsv(299, 41%, 80%)
CMYKcmyk(0.5%, 41%, 0%, 19.6%)
CIE-LABlab(62.44, 45.00, -30.05)
CIE-LCHlch(62.44, 54.11, 326.27°)
OKLaboklab(69.45% 0.1245 -0.082)
OKLCHoklch(69.45% 0.149 326.6)
XYZxyz(42.7578, 30.9219, 61.4620)
Luminance0.3092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79CD #7ACD79
analogous
#A279CD #CC79CD #CD79A4
triadic
#CC79CD #CDCC79 #79CDCC
tetradic
#CC79CD #CDA279 #7ACD79 #79A4CD
square
#CC79CD #CDA279 #7ACD79 #79A4CD
split-complementary
#CC79CD #A4CD79 #79CDA2
monochromatic
#933794 #BB4CBC #CC79CD #DDA6DE #EED2EE

Accessibility & contrast

On white

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

On black

7.18
#CC79CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79CD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79CD#FFFFFF#000000##000000
##CC79CD1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#889BCA
Tritanopia (blue-blind)
#D18199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc79cd;
/* rgb */ color: rgb(204, 121, 205);
/* oklch */ color: oklch(69.5% 0.149 326.6);
Tailwind
colors: {
  custom: {
    50: '#dda2dc',
    500: '#cc79cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc79cd;
$custom-light: #dda2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79cd",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 299.286,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6945,
    "c": 0.14911,
    "h": 326.6
  },
  "luminance": 0.3092
}

Semantic roles & 50–950 ramp

primary
#CC79CD
secondary
#C3E0C2
accent
#B92D2E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC79CD

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

Preview Lab → · Contrast checker → · Palette generator →

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