#CC77ED#CC77ED

#CC77ED is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.7% C 0.185 H 315.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CC77ED
RGBrgb(204, 119, 237)
HSLhsl(283, 77%, 70%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(13.9%, 49.8%, 0%, 7.1%)
CIE-LABlab(63.46, 52.26, -46.31)
CIE-LCHlch(63.46, 69.83, 318.45°)
OKLaboklab(70.68% 0.1325 -0.1288)
OKLCHoklch(70.68% 0.185 315.8)
XYZxyz(46.7824, 32.1468, 83.8449)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77ED #98ED77
analogous
#9177ED #CC77ED #ED77D3
triadic
#CC77ED #EDCC77 #77EDCC
tetradic
#CC77ED #ED9177 #98ED77 #77D3ED
square
#CC77ED #ED9177 #98ED77 #77D3ED
split-complementary
#CC77ED #D3ED77 #77ED91
monochromatic
#9C1BCE #B841E6 #CC77ED #E0ADF4 #F5E3FB

Accessibility & contrast

On white

2.83
#CC77ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CC77ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77ED
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77ED#FFFFFF#000000##000000
##CC77ED1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F1
Deuteranopia (green-blind)
#789CEA
Tritanopia (blue-blind)
#CA89A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc77ed;
/* rgb */ color: rgb(204, 119, 237);
/* oklch */ color: oklch(70.7% 0.185 315.8);
Tailwind
colors: {
  custom: {
    50: '#dea1f3',
    500: '#cc77ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ed;
$custom-light: #dea1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ed",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 283.22,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70677,
    "c": 0.18479,
    "h": 315.8
  },
  "luminance": 0.32145
}

Semantic roles & 50–950 ramp

primary
#CC77ED
secondary
#D9F1CF
accent
#D90D46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77ED

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

Preview Lab → · Contrast checker → · Palette generator →

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