#CF80F2#CF80F2

#CF80F2 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.6% C 0.177 H 314.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CF80F2
RGBrgb(207, 128, 242)
HSLhsl(282, 81%, 73%)
HSVhsv(282, 47%, 95%)
CMYKcmyk(14.5%, 47.1%, 0%, 5.1%)
CIE-LABlab(65.84, 49.46, -45.31)
CIE-LCHlch(65.84, 67.07, 317.51°)
OKLaboklab(72.59% 0.1245 -0.1259)
OKLCHoklch(72.59% 0.177 314.7)
XYZxyz(49.4758, 35.1158, 88.1589)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF80F2 #A3F280
analogous
#9680F2 #CF80F2 #F280DC
triadic
#CF80F2 #F2CF80 #80F2CF
tetradic
#CF80F2 #F29680 #A3F280 #80DCF2
square
#CF80F2 #F29680 #A3F280 #80DCF2
split-complementary
#CF80F2 #DCF280 #80F296
monochromatic
#A317E1 #BA48EC #CF80F2 #E4B8F8 #F5E3FC

Accessibility & contrast

On white

2.62
#CF80F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CF80F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF80F2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF80F2#FFFFFF#000000##000000
##CF80F21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#CD91AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf80f2;
/* rgb */ color: rgb(207, 128, 242);
/* oklch */ color: oklch(72.6% 0.177 314.7);
Tailwind
colors: {
  custom: {
    50: '#e0a7f7',
    500: '#cf80f2',
    950: '#000000',
  },
}
SCSS
$custom: #cf80f2;
$custom-light: #e0a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf80f2",
  "rgb": {
    "r": 207,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 281.579,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72592,
    "c": 0.17702,
    "h": 314.7
  },
  "luminance": 0.35115
}

Semantic roles & 50–950 ramp

primary
#CF80F2
secondary
#E0F4D7
accent
#DE0849
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CF80F2

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

Preview Lab → · Contrast checker → · Palette generator →

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