#CF80E2#CF80E2

#CF80E2 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.8% C 0.160 H 319.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CF80E2
RGBrgb(207, 128, 226)
HSLhsl(288, 63%, 69%)
HSVhsv(288, 43%, 89%)
CMYKcmyk(8.4%, 43.4%, 0%, 11.4%)
CIE-LABlab(65.12, 46.24, -37.59)
CIE-LCHlch(65.12, 59.59, 320.89°)
OKLaboklab(71.82% 0.122 -0.1036)
OKLCHoklch(71.82% 0.16 319.7)
XYZxyz(47.1770, 34.1963, 76.0522)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF80E2 #93E280
analogous
#9E80E2 #CF80E2 #E280C4
triadic
#CF80E2 #E2CF80 #80E2CF
tetradic
#CF80E2 #E29E80 #93E280 #80C4E2
square
#CF80E2 #E29E80 #93E280 #80C4E2
split-complementary
#CF80E2 #C4E280 #80E29E
monochromatic
#A02BBD #BC4ED7 #CF80E2 #E2B2ED #F5E4F9

Accessibility & contrast

On white

2.68
#CF80E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CF80E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF80E2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF80E2#FFFFFF#000000##000000
##CF80E21.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7199E5
Deuteranopia (green-blind)
#87A1DF
Tritanopia (blue-blind)
#D08CA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf80e2;
/* rgb */ color: rgb(207, 128, 226);
/* oklch */ color: oklch(71.8% 0.160 319.7);
Tailwind
colors: {
  custom: {
    50: '#dfa7eb',
    500: '#cf80e2',
    950: '#000000',
  },
}
SCSS
$custom: #cf80e2;
$custom-light: #dfa7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf80e2",
  "rgb": {
    "r": 207,
    "g": 128,
    "b": 226
  },
  "hsl": {
    "h": 288.367,
    "s": 62.821,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.16004,
    "h": 319.7
  },
  "luminance": 0.34195
}

Semantic roles & 50–950 ramp

primary
#CF80E2
secondary
#D6EDD1
accent
#CB1B3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF80E2

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

Preview Lab → · Contrast checker → · Palette generator →

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