#CC77F2#CC77F2

#CC77F2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.9% C 0.190 H 314.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CC77F2
RGBrgb(204, 119, 242)
HSLhsl(281, 83%, 71%)
HSVhsv(281, 51%, 95%)
CMYKcmyk(15.7%, 50.8%, 0%, 5.1%)
CIE-LABlab(63.71, 53.28, -48.69)
CIE-LCHlch(63.71, 72.18, 317.58°)
OKLaboklab(70.94% 0.1331 -0.1357)
OKLCHoklch(70.94% 0.19 314.4)
XYZxyz(47.5231, 32.4431, 87.7459)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77F2 #9DF277
analogous
#8E77F2 #CC77F2 #F277DB
triadic
#CC77F2 #F2CC77 #77F2CC
tetradic
#CC77F2 #F28E77 #9DF277 #77DBF2
square
#CC77F2 #F28E77 #9DF277 #77DBF2
split-complementary
#CC77F2 #DBF277 #77F28E
monochromatic
#9D15DA #B73FED #CC77F2 #E1AFF7 #F5E3FC

Accessibility & contrast

On white

2.80
#CC77F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CC77F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77F2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77F2#FFFFFF#000000##000000
##CC77F21.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#C98AAA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc77f2;
/* rgb */ color: rgb(204, 119, 242);
/* oklch */ color: oklch(70.9% 0.190 314.4);
Tailwind
colors: {
  custom: {
    50: '#dea1f7',
    500: '#cc77f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc77f2;
$custom-light: #dea1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77f2",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 281.463,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70936,
    "c": 0.19004,
    "h": 314.4
  },
  "luminance": 0.32442
}

Semantic roles & 50–950 ramp

primary
#CC77F2
secondary
#DCF3D2
accent
#DF0749
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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