#CC79CB#CC79CB

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

Color values

HEX#CC79CB
RGBrgb(204, 121, 203)
HSLhsl(301, 45%, 64%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 40.7%, 0.5%, 20%)
CIE-LABlab(62.36, 44.64, -29.05)
CIE-LCHlch(62.36, 53.25, 326.95°)
OKLaboklab(69.36% 0.1241 -0.0792)
OKLCHoklch(69.36% 0.147 327.4)
XYZxyz(42.5179, 30.8259, 60.1987)
Luminance0.3082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79CB #79CC7A
analogous
#A379CC #CC79CB #CC79A1
triadic
#CC79CB #CBCC79 #79CBCC
tetradic
#CC79CB #CCA379 #79CC7A #79A1CC
square
#CC79CB #CCA379 #79CC7A #79A1CC
split-complementary
#CC79CB #A1CC79 #79CCA3
monochromatic
#933892 #BB4DBA #CC79CB #DDA5DC #EED2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC79CB#FFFFFF#000000##000000
##CC79CB1.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)
#7390CE
Deuteranopia (green-blind)
#899BC8
Tritanopia (blue-blind)
#D18199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc79cb;
/* rgb */ color: rgb(204, 121, 203);
/* oklch */ color: oklch(69.4% 0.147 327.4);
Tailwind
colors: {
  custom: {
    50: '#dda2db',
    500: '#cc79cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc79cb;
$custom-light: #dda2db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79cb",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 300.723,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69362,
    "c": 0.14719,
    "h": 327.4
  },
  "luminance": 0.30824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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