#CC79E7#CC79E7

#CC79E7 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.7% C 0.175 H 317.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CC79E7
RGBrgb(204, 121, 231)
HSLhsl(285, 70%, 69%)
HSVhsv(285, 48%, 91%)
CMYKcmyk(11.7%, 47.6%, 0%, 9.4%)
CIE-LABlab(63.58, 50.02, -42.81)
CIE-LCHlch(63.58, 65.84, 319.44°)
OKLaboklab(70.67% 0.1291 -0.1187)
OKLCHoklch(70.67% 0.175 317.4)
XYZxyz(46.1610, 32.2831, 79.3855)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC79E7 #94E779
analogous
#9579E7 #CC79E7 #E779CB
triadic
#CC79E7 #E7CC79 #79E7CC
tetradic
#CC79E7 #E79579 #94E779 #79CBE7
square
#CC79E7 #E79579 #94E779 #79CBE7
split-complementary
#CC79E7 #CBE779 #79E795
monochromatic
#9B23C3 #B845DE #CC79E7 #E0ADF0 #F4E1FA

Accessibility & contrast

On white

2.82
#CC79E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CC79E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC79E7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC79E7#FFFFFF#000000##000000
##CC79E71.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#7D9DE4
Tritanopia (blue-blind)
#CC89A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc79e7;
/* rgb */ color: rgb(204, 121, 231);
/* oklch */ color: oklch(70.7% 0.175 317.4);
Tailwind
colors: {
  custom: {
    50: '#dda2ef',
    500: '#cc79e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc79e7;
$custom-light: #dda2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc79e7",
  "rgb": {
    "r": 204,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 285.273,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70667,
    "c": 0.17531,
    "h": 317.4
  },
  "luminance": 0.32282
}

Semantic roles & 50–950 ramp

primary
#CC79E7
secondary
#D6EECE
accent
#D21442
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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