#C780F8#C780F8

#C780F8 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.0% C 0.181 H 309.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C780F8
RGBrgb(199, 128, 248)
HSLhsl(276, 90%, 74%)
HSVhsv(276, 48%, 97%)
CMYKcmyk(19.8%, 48.4%, 0%, 2.7%)
CIE-LABlab(65.25, 48.56, -49.60)
CIE-LCHlch(65.25, 69.41, 314.39°)
OKLaboklab(72.05% 0.1158 -0.1385)
OKLCHoklch(72.05% 0.181 309.9)
XYZxyz(48.2125, 34.3586, 92.8808)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780F8 #B1F880
analogous
#8B80F8 #C780F8 #F880ED
triadic
#C780F8 #F8C780 #80F8C7
tetradic
#C780F8 #F88B80 #B1F880 #80EDF8
square
#C780F8 #F88B80 #B1F880 #80EDF8
split-complementary
#C780F8 #EDF880 #80F88B
monochromatic
#940DF0 #AD46F5 #C780F8 #E1BAFB #F2E2FD

Accessibility & contrast

On white

2.67
#C780F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C780F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780F8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780F8#FFFFFF#000000##000000
##C780F81.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#C194B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c780f8;
/* rgb */ color: rgb(199, 128, 248);
/* oklch */ color: oklch(72.0% 0.181 309.9);
Tailwind
colors: {
  custom: {
    50: '#daa7fb',
    500: '#c780f8',
    950: '#000000',
  },
}
SCSS
$custom: #c780f8;
$custom-light: #daa7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c780f8",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 248
  },
  "hsl": {
    "h": 275.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72049,
    "c": 0.18053,
    "h": 309.9
  },
  "luminance": 0.34358
}

Semantic roles & 50–950 ramp

primary
#C780F8
secondary
#E3F5D6
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C780F8

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

Preview Lab → · Contrast checker → · Palette generator →

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