#C780FE#C780FE

#C780FE is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.187 H 308.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#C780FE
RGBrgb(199, 128, 254)
HSLhsl(274, 98%, 75%)
HSVhsv(274, 50%, 100%)
CMYKcmyk(21.7%, 49.6%, 0%, 0.4%)
CIE-LABlab(65.54, 49.87, -52.42)
CIE-LCHlch(65.54, 72.35, 313.57°)
OKLaboklab(72.37% 0.1164 -0.1467)
OKLCHoklch(72.37% 0.187 308.4)
XYZxyz(49.1583, 34.7369, 97.8619)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780FE #B7FE80
analogous
#8880FE #C780FE #FE80F6
triadic
#C780FE #FEC780 #80FEC7
tetradic
#C780FE #FE8880 #B7FE80 #80F6FE
square
#C780FE #FE8880 #B7FE80 #80F6FE
split-complementary
#C780FE #F6FE80 #80FE88
monochromatic
#9107FD #AC43FE #C780FE #E2BDFE #F2E1FF

Accessibility & contrast

On white

2.64
#C780FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#C780FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780FE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780FE#FFFFFF#000000##000000
##C780FE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#BF95B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c780fe;
/* rgb */ color: rgb(199, 128, 254);
/* oklch */ color: oklch(72.4% 0.187 308.4);
Tailwind
colors: {
  custom: {
    50: '#daa7ff',
    500: '#c780fe',
    950: '#000000',
  },
}
SCSS
$custom: #c780fe;
$custom-light: #daa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c780fe",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 273.81,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72366,
    "c": 0.1873,
    "h": 308.4
  },
  "luminance": 0.34736
}

Semantic roles & 50–950 ramp

primary
#C780FE
secondary
#E3F7D4
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C780FE

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

Preview Lab → · Contrast checker → · Palette generator →

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