#CF80FC#CF80FC

#CF80FC is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.1% C 0.188 H 312.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CF80FC
RGBrgb(207, 128, 252)
HSLhsl(278, 95%, 75%)
HSVhsv(278, 49%, 99%)
CMYKcmyk(17.9%, 49.2%, 0%, 1.2%)
CIE-LABlab(66.32, 51.54, -50.05)
CIE-LCHlch(66.32, 71.84, 315.84°)
OKLaboklab(73.1% 0.1257 -0.1396)
OKLCHoklch(73.1% 0.188 312)
XYZxyz(51.0189, 35.7331, 96.2861)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF80FC #ADFC80
analogous
#9180FC #CF80FC #FC80EB
triadic
#CF80FC #FCCF80 #80FCCF
tetradic
#CF80FC #FC9180 #ADFC80 #80EBFC
square
#CF80FC #FC9180 #ADFC80 #80EBFC
split-complementary
#CF80FC #EBFC80 #80FC91
monochromatic
#A208F9 #B844FB #CF80FC #E6BCFD #F4E1FE

Accessibility & contrast

On white

2.58
#CF80FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CF80FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF80FC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF80FC#FFFFFF#000000##000000
##CF80FC1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#CA94B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf80fc;
/* rgb */ color: rgb(207, 128, 252);
/* oklch */ color: oklch(73.1% 0.188 312.0);
Tailwind
colors: {
  custom: {
    50: '#e0a7fe',
    500: '#cf80fc',
    950: '#000000',
  },
}
SCSS
$custom: #cf80fc;
$custom-light: #e0a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf80fc",
  "rgb": {
    "r": 207,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 278.226,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73101,
    "c": 0.18785,
    "h": 312
  },
  "luminance": 0.35732
}

Semantic roles & 50–950 ramp

primary
#CF80FC
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #CF80FC

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

Preview Lab → · Contrast checker → · Palette generator →

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