#CF80E5#CF80E5

#CF80E5 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.0% C 0.163 H 318.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CF80E5
RGBrgb(207, 128, 229)
HSLhsl(287, 66%, 70%)
HSVhsv(287, 44%, 90%)
CMYKcmyk(9.6%, 44.1%, 0%, 10.2%)
CIE-LABlab(65.25, 46.83, -39.05)
CIE-LCHlch(65.25, 60.98, 320.17°)
OKLaboklab(71.96% 0.1225 -0.1078)
OKLCHoklch(71.96% 0.163 318.6)
XYZxyz(47.5923, 34.3624, 78.2392)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF80E5 #96E580
analogous
#9D80E5 #CF80E5 #E580C8
triadic
#CF80E5 #E5CF80 #80E5CF
tetradic
#CF80E5 #E59D80 #96E580 #80C8E5
square
#CF80E5 #E59D80 #96E580 #80C8E5
split-complementary
#CF80E5 #C8E580 #80E59D
monochromatic
#A128C3 #BC4DDB #CF80E5 #E2B3EF #F5E6FA

Accessibility & contrast

On white

2.67
#CF80E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CF80E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF80E5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF80E5#FFFFFF#000000##000000
##CF80E51.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E9
Deuteranopia (green-blind)
#85A1E2
Tritanopia (blue-blind)
#CF8DA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf80e5;
/* rgb */ color: rgb(207, 128, 229);
/* oklch */ color: oklch(72.0% 0.163 318.6);
Tailwind
colors: {
  custom: {
    50: '#dfa7ed',
    500: '#cf80e5',
    950: '#000000',
  },
}
SCSS
$custom: #cf80e5;
$custom-light: #dfa7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf80e5",
  "rgb": {
    "r": 207,
    "g": 128,
    "b": 229
  },
  "hsl": {
    "h": 286.931,
    "s": 66.013,
    "l": 70
  },
  "oklch": {
    "l": 0.7196,
    "c": 0.16318,
    "h": 318.6
  },
  "luminance": 0.34361
}

Semantic roles & 50–950 ramp

primary
#CF80E5
secondary
#D8EFD2
accent
#CE183F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF80E5

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

Preview Lab → · Contrast checker → · Palette generator →

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