#CC77F0#CC77F0

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

Color values

HEX#CC77F0
RGBrgb(204, 119, 240)
HSLhsl(282, 80%, 70%)
HSVhsv(282, 50%, 94%)
CMYKcmyk(15%, 50.4%, 0%, 5.9%)
CIE-LABlab(63.61, 52.87, -47.74)
CIE-LCHlch(63.61, 71.24, 317.92°)
OKLaboklab(70.83% 0.1329 -0.1329)
OKLCHoklch(70.83% 0.188 315)
XYZxyz(47.2244, 32.3236, 86.1726)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77F0 #9BF077
analogous
#9077F0 #CC77F0 #F077D7
triadic
#CC77F0 #F0CC77 #77F0CC
tetradic
#CC77F0 #F09077 #9BF077 #77D7F0
square
#CC77F0 #F09077 #9BF077 #77D7F0
split-complementary
#CC77F0 #D7F077 #77F090
monochromatic
#9D18D5 #B740EA #CC77F0 #E1AEF6 #F5E3FC

Accessibility & contrast

On white

2.81
#CC77F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC77F0#FFFFFF#000000##000000
##CC77F01.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#769CED
Tritanopia (blue-blind)
#CA8AA9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc77f0;
/* rgb */ color: rgb(204, 119, 240);
/* oklch */ color: oklch(70.8% 0.188 315.0);
Tailwind
colors: {
  custom: {
    50: '#dea1f5',
    500: '#cc77f0',
    950: '#000000',
  },
}
SCSS
$custom: #cc77f0;
$custom-light: #dea1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77f0",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 240
  },
  "hsl": {
    "h": 282.149,
    "s": 80.132,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70832,
    "c": 0.18794,
    "h": 315
  },
  "luminance": 0.32322
}

Semantic roles & 50–950 ramp

primary
#CC77F0
secondary
#DBF2D1
accent
#DC0948
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77F0

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

Preview Lab → · Contrast checker → · Palette generator →

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