#C780FB#C780FB

#C780FB is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.184 H 309.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C780FB
RGBrgb(199, 128, 251)
HSLhsl(275, 94%, 74%)
HSVhsv(275, 49%, 98%)
CMYKcmyk(20.7%, 49%, 0%, 1.6%)
CIE-LABlab(65.39, 49.21, -51.01)
CIE-LCHlch(65.39, 70.88, 313.97°)
OKLaboklab(72.21% 0.1161 -0.1426)
OKLCHoklch(72.21% 0.184 309.2)
XYZxyz(48.6816, 34.5462, 95.3516)
Luminance0.3454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780FB #B4FB80
analogous
#8A80FB #C780FB #FB80F2
triadic
#C780FB #FBC780 #80FBC7
tetradic
#C780FB #FB8A80 #B4FB80 #80F2FB
square
#C780FB #FB8A80 #B4FB80 #80F2FB
split-complementary
#C780FB #F2FB80 #80FB8A
monochromatic
#9309F7 #AD45F9 #C780FB #E1BBFD #F2E1FE

Accessibility & contrast

On white

2.66
#C780FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C780FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780FB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780FB#FFFFFF#000000##000000
##C780FB1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#C095B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c780fb;
/* rgb */ color: rgb(199, 128, 251);
/* oklch */ color: oklch(72.2% 0.184 309.2);
Tailwind
colors: {
  custom: {
    50: '#daa7fd',
    500: '#c780fb',
    950: '#000000',
  },
}
SCSS
$custom: #c780fb;
$custom-light: #daa7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c780fb",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 274.634,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72207,
    "c": 0.18391,
    "h": 309.2
  },
  "luminance": 0.34545
}

Semantic roles & 50–950 ramp

primary
#C780FB
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C780FB

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

Preview Lab → · Contrast checker → · Palette generator →

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