#CC79EE#CC79EE

#CC79EE is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.183 H 315.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CC79EE
RGBrgb(204, 121, 238)
HSLhsl(283, 77%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(14.3%, 49.2%, 0%, 6.7%)
CIE-LABlab(63.91, 51.44, -46.17)
CIE-LCHlch(63.91, 69.12, 318.09°)
OKLaboklab(71.02% 0.13 -0.1284)
OKLCHoklch(71.02% 0.183 315.3)
XYZxyz(47.1694, 32.6865, 84.6967)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79EE #9BEE79
analogous
#9179EE #CC79EE #EE79D5
triadic
#CC79EE #EECC79 #79EECC
tetradic
#CC79EE #EE9179 #9BEE79 #79D5EE
square
#CC79EE #EE9179 #9BEE79 #79D5EE
split-complementary
#CC79EE #D5EE79 #79EE91
monochromatic
#9D1BD2 #B743E7 #CC79EE #E1AFF5 #F5E4FC

Accessibility & contrast

On white

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

On black

7.54
#CC79EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79EE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79EE#FFFFFF#000000##000000
##CC79EE1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#799DEB
Tritanopia (blue-blind)
#CA8BA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc79ee;
/* rgb */ color: rgb(204, 121, 238);
/* oklch */ color: oklch(71.0% 0.183 315.3);
Tailwind
colors: {
  custom: {
    50: '#dea2f4',
    500: '#cc79ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc79ee;
$custom-light: #dea2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79ee",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 282.564,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.7102,
    "c": 0.18267,
    "h": 315.3
  },
  "luminance": 0.32685
}

Semantic roles & 50–950 ramp

primary
#CC79EE
secondary
#DBF1D1
accent
#DA0C48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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