#C780F4#C780F4

#C780F4 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.8% C 0.176 H 310.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#C780F4
RGBrgb(199, 128, 244)
HSLhsl(277, 84%, 73%)
HSVhsv(277, 48%, 96%)
CMYKcmyk(18.4%, 47.5%, 0%, 4.3%)
CIE-LABlab(65.05, 47.70, -47.71)
CIE-LCHlch(65.05, 67.46, 314.99°)
OKLaboklab(71.84% 0.1153 -0.133)
OKLCHoklch(71.84% 0.176 310.9)
XYZxyz(47.5985, 34.1130, 89.6474)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780F4 #ADF480
analogous
#8D80F4 #C780F4 #F480E7
triadic
#C780F4 #F4C780 #80F4C7
tetradic
#C780F4 #F48D80 #ADF480 #80E7F4
square
#C780F4 #F48D80 #ADF480 #80E7F4
split-complementary
#C780F4 #E7F480 #80F48D
monochromatic
#9414E6 #AE48EF #C780F4 #E0B8F9 #F3E3FD

Accessibility & contrast

On white

2.68
#C780F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#C780F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780F4
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780F4#FFFFFF#000000##000000
##C780F41.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF8
Deuteranopia (green-blind)
#789FF1
Tritanopia (blue-blind)
#C293AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c780f4;
/* rgb */ color: rgb(199, 128, 244);
/* oklch */ color: oklch(71.8% 0.176 310.9);
Tailwind
colors: {
  custom: {
    50: '#daa6f8',
    500: '#c780f4',
    950: '#000000',
  },
}
SCSS
$custom: #c780f4;
$custom-light: #daa6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c780f4",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 244
  },
  "hsl": {
    "h": 276.724,
    "s": 84.058,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71841,
    "c": 0.17603,
    "h": 310.9
  },
  "luminance": 0.34112
}

Semantic roles & 50–950 ramp

primary
#C780F4
secondary
#E2F5D6
accent
#E1055A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C780F4

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

Preview Lab → · Contrast checker → · Palette generator →

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