#CC77EE#CC77EE

#CC77EE is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.7% C 0.186 H 315.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CC77EE
RGBrgb(204, 119, 238)
HSLhsl(283, 78%, 70%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(14.3%, 50%, 0%, 6.7%)
CIE-LABlab(63.51, 52.46, -46.79)
CIE-LCHlch(63.51, 70.29, 318.27°)
OKLaboklab(70.73% 0.1326 -0.1302)
OKLCHoklch(70.73% 0.186 315.5)
XYZxyz(46.9289, 32.2055, 84.6165)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77EE #99EE77
analogous
#9077EE #CC77EE #EE77D5
triadic
#CC77EE #EECC77 #77EECC
tetradic
#CC77EE #EE9077 #99EE77 #77D5EE
square
#CC77EE #EE9077 #99EE77 #77D5EE
split-complementary
#CC77EE #D5EE77 #77EE90
monochromatic
#9C1AD1 #B841E7 #CC77EE #E0ADF5 #F5E4FC

Accessibility & contrast

On white

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

On black

7.44
#CC77EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77EE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77EE#FFFFFF#000000##000000
##CC77EE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#CA89A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc77ee;
/* rgb */ color: rgb(204, 119, 238);
/* oklch */ color: oklch(70.7% 0.186 315.5);
Tailwind
colors: {
  custom: {
    50: '#dea1f4',
    500: '#cc77ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ee;
$custom-light: #dea1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ee",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 282.857,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.70728,
    "c": 0.18584,
    "h": 315.5
  },
  "luminance": 0.32204
}

Semantic roles & 50–950 ramp

primary
#CC77EE
secondary
#D9F1D0
accent
#DA0B46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77EE

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

Preview Lab → · Contrast checker → · Palette generator →

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