#CC79CA#CC79CA

#CC79CA is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.3% C 0.146 H 327.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CC79CA
RGBrgb(204, 121, 202)
HSLhsl(301, 45%, 64%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 40.7%, 1%, 20%)
CIE-LABlab(62.32, 44.45, -28.54)
CIE-LCHlch(62.32, 52.83, 327.30°)
OKLaboklab(69.32% 0.1239 -0.0778)
OKLCHoklch(69.32% 0.146 327.9)
XYZxyz(42.3991, 30.7784, 59.5732)
Luminance0.3078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79CA #79CC7B
analogous
#A479CC #CC79CA #CC79A0
triadic
#CC79CA #CACC79 #79CACC
tetradic
#CC79CA #CCA479 #79CC7B #79A0CC
square
#CC79CA #CCA479 #79CC7B #79A0CC
split-complementary
#CC79CA #A0CC79 #79CCA4
monochromatic
#933891 #BB4DB8 #CC79CA #DDA5DC #EED2ED

Accessibility & contrast

On white

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

On black

7.16
#CC79CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79CA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79CA#FFFFFF#000000##000000
##CC79CA1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#899BC7
Tritanopia (blue-blind)
#D18198
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc79ca;
/* rgb */ color: rgb(204, 121, 202);
/* oklch */ color: oklch(69.3% 0.146 327.9);
Tailwind
colors: {
  custom: {
    50: '#dda2da',
    500: '#cc79ca',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ca;
$custom-light: #dda2da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ca",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 301.446,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69319,
    "c": 0.14625,
    "h": 327.9
  },
  "luminance": 0.30776
}

Semantic roles & 50–950 ramp

primary
#CC79CA
secondary
#C2DFC2
accent
#B8312D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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