#CC77EF#CC77EF

#CC77EF is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.8% C 0.187 H 315.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CC77EF
RGBrgb(204, 119, 239)
HSLhsl(283, 79%, 70%)
HSVhsv(283, 50%, 94%)
CMYKcmyk(14.6%, 50.2%, 0%, 6.3%)
CIE-LABlab(63.56, 52.67, -47.26)
CIE-LCHlch(63.56, 70.76, 318.09°)
OKLaboklab(70.78% 0.1327 -0.1315)
OKLCHoklch(70.78% 0.187 315.3)
XYZxyz(47.0762, 32.2644, 85.3924)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77EF #9AEF77
analogous
#9077EF #CC77EF #EF77D6
triadic
#CC77EF #EFCC77 #77EFCC
tetradic
#CC77EF #EF9077 #9AEF77 #77D6EF
square
#CC77EF #EF9077 #9AEF77 #77D6EF
split-complementary
#CC77EF #D6EF77 #77EF90
monochromatic
#9D19D3 #B740E9 #CC77EF #E1AEF5 #F5E4FC

Accessibility & contrast

On white

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

On black

7.45
#CC77EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77EF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77EF#FFFFFF#000000##000000
##CC77EF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc77ef;
/* rgb */ color: rgb(204, 119, 239);
/* oklch */ color: oklch(70.8% 0.187 315.3);
Tailwind
colors: {
  custom: {
    50: '#dea1f5',
    500: '#cc77ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ef;
$custom-light: #dea1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ef",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 282.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7078,
    "c": 0.18688,
    "h": 315.3
  },
  "luminance": 0.32263
}

Semantic roles & 50–950 ramp

primary
#CC77EF
secondary
#DAF2D0
accent
#DB0A47
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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