#CC79DD#CC79DD

#CC79DD is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.2% C 0.165 H 320.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CC79DD
RGBrgb(204, 121, 221)
HSLhsl(290, 60%, 67%)
HSVhsv(290, 45%, 87%)
CMYKcmyk(7.7%, 45.2%, 0%, 13.3%)
CIE-LABlab(63.12, 48.04, -37.95)
CIE-LCHlch(63.12, 61.22, 321.69°)
OKLaboklab(70.18% 0.1275 -0.1047)
OKLCHoklch(70.18% 0.165 320.6)
XYZxyz(44.7888, 31.7343, 72.1586)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79DD #8ADD79
analogous
#9A79DD #CC79DD #DD79BC
triadic
#CC79DD #DDCC79 #79DDCC
tetradic
#CC79DD #DD9A79 #8ADD79 #79BCDD
square
#CC79DD #DD9A79 #8ADD79 #79BCDD
split-complementary
#CC79DD #BCDD79 #79DD9A
monochromatic
#992CAF #B948D1 #CC79DD #DFAAE9 #F1DBF6

Accessibility & contrast

On white

2.86
#CC79DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CC79DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79DD
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79DD#FFFFFF#000000##000000
##CC79DD1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E0
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#CE86A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc79dd;
/* rgb */ color: rgb(204, 121, 221);
/* oklch */ color: oklch(70.2% 0.165 320.6);
Tailwind
colors: {
  custom: {
    50: '#dda2e8',
    500: '#cc79dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc79dd;
$custom-light: #dda2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79dd",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 289.8,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70182,
    "c": 0.16498,
    "h": 320.6
  },
  "luminance": 0.31733
}

Semantic roles & 50–950 ramp

primary
#CC79DD
secondary
#CEE9C9
accent
#C71E3B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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