#CC80E2#CC80E2

#CC80E2 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.5% C 0.159 H 318.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CC80E2
RGBrgb(204, 128, 226)
HSLhsl(287, 63%, 69%)
HSVhsv(287, 43%, 89%)
CMYKcmyk(9.7%, 43.4%, 0%, 11.4%)
CIE-LABlab(64.78, 45.37, -38.15)
CIE-LCHlch(64.78, 59.27, 319.94°)
OKLaboklab(71.49% 0.1185 -0.1053)
OKLCHoklch(71.49% 0.159 318.4)
XYZxyz(46.3466, 33.7682, 76.0133)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC80E2 #96E280
analogous
#9B80E2 #CC80E2 #E280C7
triadic
#CC80E2 #E2CC80 #80E2CC
tetradic
#CC80E2 #E29B80 #96E280 #80C7E2
square
#CC80E2 #E29B80 #96E280 #80C7E2
split-complementary
#CC80E2 #C7E280 #80E29B
monochromatic
#9C2BBD #B84ED7 #CC80E2 #E0B2ED #F4E4F9

Accessibility & contrast

On white

2.71
#CC80E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CC80E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC80E2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC80E2#FFFFFF#000000##000000
##CC80E21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E5
Deuteranopia (green-blind)
#85A0DF
Tritanopia (blue-blind)
#CC8DA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc80e2;
/* rgb */ color: rgb(204, 128, 226);
/* oklch */ color: oklch(71.5% 0.159 318.4);
Tailwind
colors: {
  custom: {
    50: '#dda6eb',
    500: '#cc80e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc80e2;
$custom-light: #dda6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc80e2",
  "rgb": {
    "r": 204,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 286.531,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.1585,
    "h": 318.4
  },
  "luminance": 0.33767
}

Semantic roles & 50–950 ramp

primary
#CC80E2
secondary
#D7EDD1
accent
#CB1B42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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