#CF80FF#CF80FF

#CF80FF is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.3% C 0.191 H 311.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CF80FF
RGBrgb(207, 128, 255)
HSLhsl(277, 100%, 75%)
HSVhsv(277, 50%, 100%)
CMYKcmyk(18.8%, 49.8%, 0%, 0%)
CIE-LABlab(66.46, 52.18, -51.46)
CIE-LCHlch(66.46, 73.28, 315.40°)
OKLaboklab(73.26% 0.126 -0.1437)
OKLCHoklch(73.26% 0.191 311.2)
XYZxyz(51.4981, 35.9248, 98.8097)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF80FF #B0FF80
analogous
#9080FF #CF80FF #FF80EF
triadic
#CF80FF #FFCF80 #80FFCF
tetradic
#CF80FF #FF9080 #B0FF80 #80EFFF
square
#CF80FF #FF9080 #B0FF80 #80EFFF
split-complementary
#CF80FF #EFFF80 #80FF90
monochromatic
#A106FF #B843FF #CF80FF #E6BDFF #F3E0FF

Accessibility & contrast

On white

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

On black

8.18
#CF80FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF80FF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF80FF#FFFFFF#000000##000000
##CF80FF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609EFF
Deuteranopia (green-blind)
#78A3FC
Tritanopia (blue-blind)
#CA95B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf80ff;
/* rgb */ color: rgb(207, 128, 255);
/* oklch */ color: oklch(73.3% 0.191 311.2);
Tailwind
colors: {
  custom: {
    50: '#e0a7ff',
    500: '#cf80ff',
    950: '#000000',
  },
}
SCSS
$custom: #cf80ff;
$custom-light: #e0a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf80ff",
  "rgb": {
    "r": 207,
    "g": 128,
    "b": 255
  },
  "hsl": {
    "h": 277.323,
    "s": 100,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73258,
    "c": 0.19112,
    "h": 311.2
  },
  "luminance": 0.35924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF80FF

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

Preview Lab → · Contrast checker → · Palette generator →

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