#CC80FC#CC80FC

#CC80FC is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.8% C 0.187 H 310.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CC80FC
RGBrgb(204, 128, 252)
HSLhsl(277, 95%, 75%)
HSVhsv(277, 49%, 99%)
CMYKcmyk(19%, 49.2%, 0%, 1.2%)
CIE-LABlab(65.99, 50.75, -50.59)
CIE-LCHlch(65.99, 71.66, 315.09°)
OKLaboklab(72.78% 0.1222 -0.1413)
OKLCHoklch(72.78% 0.187 310.9)
XYZxyz(50.1885, 35.3049, 96.2472)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC80FC #B0FC80
analogous
#8E80FC #CC80FC #FC80EE
triadic
#CC80FC #FCCC80 #80FCCC
tetradic
#CC80FC #FC8E80 #B0FC80 #80EEFC
square
#CC80FC #FC8E80 #B0FC80 #80EEFC
split-complementary
#CC80FC #EEFC80 #80FC8E
monochromatic
#9C08F9 #B444FB #CC80FC #E4BCFD #F3E1FE

Accessibility & contrast

On white

2.61
#CC80FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CC80FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC80FC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC80FC#FFFFFF#000000##000000
##CC80FC1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#C694B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc80fc;
/* rgb */ color: rgb(204, 128, 252);
/* oklch */ color: oklch(72.8% 0.187 310.9);
Tailwind
colors: {
  custom: {
    50: '#dea7fe',
    500: '#cc80fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc80fc;
$custom-light: #dea7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc80fc",
  "rgb": {
    "r": 204,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 276.774,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72783,
    "c": 0.18676,
    "h": 310.9
  },
  "luminance": 0.35304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC80FC

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

Preview Lab → · Contrast checker → · Palette generator →

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