#CC80FB#CC80FB

#CC80FB is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.7% C 0.186 H 311.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CC80FB
RGBrgb(204, 128, 251)
HSLhsl(277, 94%, 74%)
HSVhsv(277, 49%, 98%)
CMYKcmyk(18.7%, 49%, 0%, 1.6%)
CIE-LABlab(65.94, 50.54, -50.12)
CIE-LCHlch(65.94, 71.17, 315.24°)
OKLaboklab(72.73% 0.1221 -0.1399)
OKLCHoklch(72.73% 0.186 311.1)
XYZxyz(50.0305, 35.2417, 95.4148)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC80FB #AFFB80
analogous
#8F80FB #CC80FB #FB80ED
triadic
#CC80FB #FBCC80 #80FBCC
tetradic
#CC80FB #FB8F80 #AFFB80 #80EDFB
square
#CC80FB #FB8F80 #AFFB80 #80EDFB
split-complementary
#CC80FB #EDFB80 #80FB8F
monochromatic
#9C09F7 #B445F9 #CC80FB #E4BBFD #F3E1FE

Accessibility & contrast

On white

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

On black

8.05
#CC80FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC80FB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC80FB#FFFFFF#000000##000000
##CC80FB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#C794B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc80fb;
/* rgb */ color: rgb(204, 128, 251);
/* oklch */ color: oklch(72.7% 0.186 311.1);
Tailwind
colors: {
  custom: {
    50: '#dea7fd',
    500: '#cc80fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc80fb;
$custom-light: #dea7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc80fb",
  "rgb": {
    "r": 204,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 277.073,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72731,
    "c": 0.18565,
    "h": 311.1
  },
  "luminance": 0.35241
}

Semantic roles & 50–950 ramp

primary
#CC80FB
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC80FB

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

Preview Lab → · Contrast checker → · Palette generator →

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