#CC77EA#CC77EA

#CC77EA is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.182 H 316.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CC77EA
RGBrgb(204, 119, 234)
HSLhsl(284, 73%, 69%)
HSVhsv(284, 49%, 92%)
CMYKcmyk(12.8%, 49.1%, 0%, 8.2%)
CIE-LABlab(63.32, 51.65, -44.87)
CIE-LCHlch(63.32, 68.42, 319.02°)
OKLaboklab(70.52% 0.1322 -0.1246)
OKLCHoklch(70.52% 0.182 316.7)
XYZxyz(46.3478, 31.9730, 81.5559)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77EA #95EA77
analogous
#9377EA #CC77EA #EA77CE
triadic
#CC77EA #EACC77 #77EACC
tetradic
#CC77EA #EA9377 #95EA77 #77CEEA
square
#CC77EA #EA9377 #95EA77 #77CEEA
split-complementary
#CC77EA #CEEA77 #77EA93
monochromatic
#9C1FC8 #B842E2 #CC77EA #E0ACF2 #F4E1FA

Accessibility & contrast

On white

2.84
#CC77EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CC77EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77EA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77EA#FFFFFF#000000##000000
##CC77EA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#CB88A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc77ea;
/* rgb */ color: rgb(204, 119, 234);
/* oklch */ color: oklch(70.5% 0.182 316.7);
Tailwind
colors: {
  custom: {
    50: '#dea1f1',
    500: '#cc77ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ea;
$custom-light: #dea1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ea",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 284.348,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70524,
    "c": 0.18166,
    "h": 316.7
  },
  "luminance": 0.31972
}

Semantic roles & 50–950 ramp

primary
#CC77EA
secondary
#D6EFCE
accent
#D51044
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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