#CC79EC#CC79EC

#CC79EC is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.181 H 315.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CC79EC
RGBrgb(204, 121, 236)
HSLhsl(283, 75%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(13.6%, 48.7%, 0%, 7.5%)
CIE-LABlab(63.81, 51.03, -45.21)
CIE-LCHlch(63.81, 68.18, 318.46°)
OKLaboklab(70.92% 0.1297 -0.1256)
OKLCHoklch(70.92% 0.181 315.9)
XYZxyz(46.8772, 32.5696, 83.1578)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79EC #99EC79
analogous
#9279EC #CC79EC #EC79D3
triadic
#CC79EC #ECCC79 #79ECCC
tetradic
#CC79EC #EC9279 #99EC79 #79D3EC
square
#CC79EC #EC9279 #99EC79 #79D3EC
split-complementary
#CC79EC #D3EC79 #79EC92
monochromatic
#9C1DCD #B843E4 #CC79EC #E0AFF4 #F5E4FB

Accessibility & contrast

On white

2.79
#CC79EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CC79EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79EC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79EC#FFFFFF#000000##000000
##CC79EC1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#CA8AA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc79ec;
/* rgb */ color: rgb(204, 121, 236);
/* oklch */ color: oklch(70.9% 0.181 315.9);
Tailwind
colors: {
  custom: {
    50: '#dea2f2',
    500: '#cc79ec',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ec;
$custom-light: #dea2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ec",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 283.304,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70918,
    "c": 0.18055,
    "h": 315.9
  },
  "luminance": 0.32568
}

Semantic roles & 50–950 ramp

primary
#CC79EC
secondary
#D9F0D0
accent
#D70E46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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