#CC80FE#CC80FE

#CC80FE is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.9% C 0.189 H 310.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#CC80FE
RGBrgb(204, 128, 254)
HSLhsl(276, 98%, 75%)
HSVhsv(276, 50%, 100%)
CMYKcmyk(19.7%, 49.6%, 0%, 0.4%)
CIE-LABlab(66.08, 51.18, -51.53)
CIE-LCHlch(66.08, 72.62, 314.80°)
OKLaboklab(72.89% 0.1224 -0.144)
OKLCHoklch(72.89% 0.189 310.4)
XYZxyz(50.5071, 35.4324, 97.9252)
Luminance0.3543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC80FE #B2FE80
analogous
#8D80FE #CC80FE #FE80F1
triadic
#CC80FE #FECC80 #80FECC
tetradic
#CC80FE #FE8D80 #B2FE80 #80F1FE
square
#CC80FE #FE8D80 #B2FE80 #80F1FE
split-complementary
#CC80FE #F1FE80 #80FE8D
monochromatic
#9B07FD #B443FE #CC80FE #E4BDFE #F3E1FF

Accessibility & contrast

On white

2.60
#CC80FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#CC80FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC80FE
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC80FE#FFFFFF#000000##000000
##CC80FE1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#C695B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc80fe;
/* rgb */ color: rgb(204, 128, 254);
/* oklch */ color: oklch(72.9% 0.189 310.4);
Tailwind
colors: {
  custom: {
    50: '#dea7ff',
    500: '#cc80fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc80fe;
$custom-light: #dea7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc80fe",
  "rgb": {
    "r": 204,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 276.19,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72888,
    "c": 0.18896,
    "h": 310.4
  },
  "luminance": 0.35431
}

Semantic roles & 50–950 ramp

primary
#CC80FE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC80FE

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

Preview Lab → · Contrast checker → · Palette generator →

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