#CC77FD#CC77FD

#CC77FD is a light, highly saturated violet. Relative luminance 0.331; OKLCH L 71.5% C 0.202 H 311.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CC77FD
RGBrgb(204, 119, 253)
HSLhsl(278, 97%, 73%)
HSVhsv(278, 53%, 99%)
CMYKcmyk(19.4%, 53%, 0%, 0.8%)
CIE-LABlab(64.26, 55.58, -53.87)
CIE-LCHlch(64.26, 77.40, 315.89°)
OKLaboklab(71.53% 0.134 -0.1508)
OKLCHoklch(71.53% 0.202 311.6)
XYZxyz(49.2251, 33.1239, 96.7099)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77FD #A8FD77
analogous
#8977FD #CC77FD #FD77EB
triadic
#CC77FD #FDCC77 #77FDCC
tetradic
#CC77FD #FD8977 #A8FD77 #77EBFD
square
#CC77FD #FD8977 #A8FD77 #77EBFD
split-complementary
#CC77FD #EBFD77 #77FD89
monochromatic
#9D04F6 #B53BFC #CC77FD #E3B3FE #F4E1FF

Accessibility & contrast

On white

2.75
#CC77FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CC77FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77FD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77FD#FFFFFF#000000##000000
##CC77FD1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#C78EAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc77fd;
/* rgb */ color: rgb(204, 119, 253);
/* oklch */ color: oklch(71.5% 0.202 311.6);
Tailwind
colors: {
  custom: {
    50: '#dea1fe',
    500: '#cc77fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc77fd;
$custom-light: #dea1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77fd",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 278.06,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71525,
    "c": 0.2017,
    "h": 311.6
  },
  "luminance": 0.33123
}

Semantic roles & 50–950 ramp

primary
#CC77FD
secondary
#E1F7D4
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC77FD

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

Preview Lab → · Contrast checker → · Palette generator →

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