#CF80FE#CF80FE

#CF80FE is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.2% C 0.190 H 311.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CF80FE
RGBrgb(207, 128, 254)
HSLhsl(278, 98%, 75%)
HSVhsv(278, 50%, 100%)
CMYKcmyk(18.5%, 49.6%, 0%, 0.4%)
CIE-LABlab(66.41, 51.97, -50.99)
CIE-LCHlch(66.41, 72.80, 315.55°)
OKLaboklab(73.21% 0.1259 -0.1423)
OKLCHoklch(73.21% 0.19 311.5)
XYZxyz(51.3375, 35.8605, 97.9641)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF80FE #AFFE80
analogous
#9080FE #CF80FE #FE80EE
triadic
#CF80FE #FECF80 #80FECF
tetradic
#CF80FE #FE9080 #AFFE80 #80EEFE
square
#CF80FE #FE9080 #AFFE80 #80EEFE
split-complementary
#CF80FE #EEFE80 #80FE90
monochromatic
#A107FD #B843FE #CF80FE #E6BDFE #F4E1FF

Accessibility & contrast

On white

2.57
#CF80FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CF80FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF80FE
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF80FE#FFFFFF#000000##000000
##CF80FE1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#CA94B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf80fe;
/* rgb */ color: rgb(207, 128, 254);
/* oklch */ color: oklch(73.2% 0.190 311.5);
Tailwind
colors: {
  custom: {
    50: '#e0a7ff',
    500: '#cf80fe',
    950: '#000000',
  },
}
SCSS
$custom: #cf80fe;
$custom-light: #e0a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf80fe",
  "rgb": {
    "r": 207,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 277.619,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73206,
    "c": 0.19004,
    "h": 311.5
  },
  "luminance": 0.35859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF80FE

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

Preview Lab → · Contrast checker → · Palette generator →

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