#CF80E7#CF80E7

#CF80E7 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.1% C 0.165 H 318.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CF80E7
RGBrgb(207, 128, 231)
HSLhsl(286, 68%, 70%)
HSVhsv(286, 45%, 91%)
CMYKcmyk(10.4%, 44.6%, 0%, 9.4%)
CIE-LABlab(65.34, 47.23, -40.02)
CIE-LCHlch(65.34, 61.90, 319.72°)
OKLaboklab(72.06% 0.1228 -0.1106)
OKLCHoklch(72.06% 0.165 318)
XYZxyz(47.8731, 34.4748, 79.7183)
Luminance0.3447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF80E7 #98E780
analogous
#9B80E7 #CF80E7 #E780CC
triadic
#CF80E7 #E7CF80 #80E7CF
tetradic
#CF80E7 #E79B80 #98E780 #80CCE7
square
#CF80E7 #E79B80 #98E780 #80CCE7
split-complementary
#CF80E7 #CCE780 #80E79B
monochromatic
#A126C7 #BC4DDD #CF80E7 #E2B3F1 #F5E5FA

Accessibility & contrast

On white

2.66
#CF80E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#CF80E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF80E7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF80E7#FFFFFF#000000##000000
##CF80E71.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F99EB
Deuteranopia (green-blind)
#85A1E4
Tritanopia (blue-blind)
#CF8EA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf80e7;
/* rgb */ color: rgb(207, 128, 231);
/* oklch */ color: oklch(72.1% 0.165 318.0);
Tailwind
colors: {
  custom: {
    50: '#dfa7ef',
    500: '#cf80e7',
    950: '#000000',
  },
}
SCSS
$custom: #cf80e7;
$custom-light: #dfa7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf80e7",
  "rgb": {
    "r": 207,
    "g": 128,
    "b": 231
  },
  "hsl": {
    "h": 286.019,
    "s": 68.212,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.16529,
    "h": 318
  },
  "luminance": 0.34473
}

Semantic roles & 50–950 ramp

primary
#CF80E7
secondary
#DAF0D3
accent
#D01541
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF80E7

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

Preview Lab → · Contrast checker → · Palette generator →

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