#C780FD#C780FD

#C780FD is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.3% C 0.186 H 308.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#C780FD
RGBrgb(199, 128, 253)
HSLhsl(274, 97%, 75%)
HSVhsv(274, 49%, 99%)
CMYKcmyk(21.3%, 49.4%, 0%, 0.8%)
CIE-LABlab(65.49, 49.65, -51.95)
CIE-LCHlch(65.49, 71.86, 313.70°)
OKLaboklab(72.31% 0.1163 -0.1453)
OKLCHoklch(72.31% 0.186 308.7)
XYZxyz(48.9985, 34.6730, 97.0208)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780FD #B6FD80
analogous
#8980FD #C780FD #FD80F4
triadic
#C780FD #FDC780 #80FDC7
tetradic
#C780FD #FD8980 #B6FD80 #80F4FD
square
#C780FD #FD8980 #B6FD80 #80F4FD
split-complementary
#C780FD #F4FD80 #80FD89
monochromatic
#9207FB #AC44FC #C780FD #E2BCFE #F2E1FF

Accessibility & contrast

On white

2.65
#C780FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#C780FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780FD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780FD#FFFFFF#000000##000000
##C780FD1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#C095B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c780fd;
/* rgb */ color: rgb(199, 128, 253);
/* oklch */ color: oklch(72.3% 0.186 308.7);
Tailwind
colors: {
  custom: {
    50: '#daa7fe',
    500: '#c780fd',
    950: '#000000',
  },
}
SCSS
$custom: #c780fd;
$custom-light: #daa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c780fd",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 253
  },
  "hsl": {
    "h": 274.08,
    "s": 96.899,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72313,
    "c": 0.18616,
    "h": 308.7
  },
  "luminance": 0.34672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C780FD

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

Preview Lab → · Contrast checker → · Palette generator →

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