#CC77EC#CC77EC

#CC77EC is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.6% C 0.184 H 316.1°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CC77EC
RGBrgb(204, 119, 236)
HSLhsl(284, 75%, 70%)
HSVhsv(284, 50%, 93%)
CMYKcmyk(13.6%, 49.6%, 0%, 7.5%)
CIE-LABlab(63.42, 52.06, -45.83)
CIE-LCHlch(63.42, 69.36, 318.64°)
OKLaboklab(70.63% 0.1324 -0.1274)
OKLCHoklch(70.63% 0.184 316.1)
XYZxyz(46.6367, 32.0886, 83.0776)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77EC #97EC77
analogous
#9277EC #CC77EC #EC77D1
triadic
#CC77EC #ECCC77 #77ECCC
tetradic
#CC77EC #EC9277 #97EC77 #77D1EC
square
#CC77EC #EC9277 #97EC77 #77D1EC
split-complementary
#CC77EC #D1EC77 #77EC92
monochromatic
#9C1DCC #B841E4 #CC77EC #E0ADF4 #F4E2FB

Accessibility & contrast

On white

2.83
#CC77EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CC77EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77EC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77EC#FFFFFF#000000##000000
##CC77EC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#CB88A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc77ec;
/* rgb */ color: rgb(204, 119, 236);
/* oklch */ color: oklch(70.6% 0.184 316.1);
Tailwind
colors: {
  custom: {
    50: '#dea1f2',
    500: '#cc77ec',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ec;
$custom-light: #dea1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ec",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 283.59,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70626,
    "c": 0.18375,
    "h": 316.1
  },
  "luminance": 0.32087
}

Semantic roles & 50–950 ramp

primary
#CC77EC
secondary
#D8F0CF
accent
#D80E45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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