#CF80FB#CF80FB

#CF80FB is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.0% C 0.187 H 312.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CF80FB
RGBrgb(207, 128, 251)
HSLhsl(279, 94%, 74%)
HSVhsv(279, 49%, 98%)
CMYKcmyk(17.5%, 49%, 0%, 1.6%)
CIE-LABlab(66.27, 51.33, -49.57)
CIE-LCHlch(66.27, 71.36, 316.00°)
OKLaboklab(73.05% 0.1256 -0.1382)
OKLCHoklch(73.05% 0.187 312.3)
XYZxyz(50.8609, 35.6699, 95.4538)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF80FB #ACFB80
analogous
#9280FB #CF80FB #FB80E9
triadic
#CF80FB #FBCF80 #80FBCF
tetradic
#CF80FB #FB9280 #ACFB80 #80E9FB
square
#CF80FB #FB9280 #ACFB80 #80E9FB
split-complementary
#CF80FB #E9FB80 #80FB92
monochromatic
#A209F7 #B945F9 #CF80FB #E5BBFD #F4E1FE

Accessibility & contrast

On white

2.58
#CF80FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#CF80FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF80FB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF80FB#FFFFFF#000000##000000
##CF80FB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#CB94B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf80fb;
/* rgb */ color: rgb(207, 128, 251);
/* oklch */ color: oklch(73.0% 0.187 312.3);
Tailwind
colors: {
  custom: {
    50: '#e0a7fd',
    500: '#cf80fb',
    950: '#000000',
  },
}
SCSS
$custom: #cf80fb;
$custom-light: #e0a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf80fb",
  "rgb": {
    "r": 207,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 278.537,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73049,
    "c": 0.18676,
    "h": 312.3
  },
  "luminance": 0.35669
}

Semantic roles & 50–950 ramp

primary
#CF80FB
secondary
#E1F6D5
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #CF80FB

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

Preview Lab → · Contrast checker → · Palette generator →

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