#CC79E2#CC79E2

#CC79E2 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.170 H 319.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CC79E2
RGBrgb(204, 121, 226)
HSLhsl(287, 64%, 68%)
HSVhsv(287, 46%, 89%)
CMYKcmyk(9.7%, 46.5%, 0%, 11.4%)
CIE-LABlab(63.35, 49.02, -40.39)
CIE-LCHlch(63.35, 63.52, 320.52°)
OKLaboklab(70.42% 0.1283 -0.1117)
OKLCHoklch(70.42% 0.17 319)
XYZxyz(45.4649, 32.0047, 75.7194)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79E2 #8FE279
analogous
#9879E2 #CC79E2 #E279C3
triadic
#CC79E2 #E2CC79 #79E2CC
tetradic
#CC79E2 #E29879 #8FE279 #79C3E2
square
#CC79E2 #E29879 #8FE279 #79C3E2
split-complementary
#CC79E2 #C3E279 #79E298
monochromatic
#9A28B9 #B947D7 #CC79E2 #DFABED #F2DEF8

Accessibility & contrast

On white

2.84
#CC79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CC79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79E2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79E2#FFFFFF#000000##000000
##CC79E21.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#CD87A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc79e2;
/* rgb */ color: rgb(204, 121, 226);
/* oklch */ color: oklch(70.4% 0.170 319.0);
Tailwind
colors: {
  custom: {
    50: '#dda2eb',
    500: '#cc79e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc79e2;
$custom-light: #dda2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79e2",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 287.429,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70422,
    "c": 0.17011,
    "h": 319
  },
  "luminance": 0.32003
}

Semantic roles & 50–950 ramp

primary
#CC79E2
secondary
#D2EBCB
accent
#CC193F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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