#C780EF#C780EF

#C780EF is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.6% C 0.170 H 312.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C780EF
RGBrgb(199, 128, 239)
HSLhsl(278, 78%, 72%)
HSVhsv(278, 46%, 94%)
CMYKcmyk(16.7%, 46.4%, 0%, 6.3%)
CIE-LABlab(64.81, 46.63, -45.33)
CIE-LCHlch(64.81, 65.03, 315.81°)
OKLaboklab(71.59% 0.1147 -0.1261)
OKLCHoklch(71.59% 0.17 312.3)
XYZxyz(46.8497, 33.8134, 85.7033)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780EF #A8EF80
analogous
#9080EF #C780EF #EF80E0
triadic
#C780EF #EFC780 #80EFC7
tetradic
#C780EF #EF9080 #A8EF80 #80E0EF
square
#C780EF #EF9080 #A8EF80 #80E0EF
split-complementary
#C780EF #E0EF80 #80EF90
monochromatic
#951BD9 #AF4AE8 #C780EF #DFB6F6 #F3E4FC

Accessibility & contrast

On white

2.71
#C780EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C780EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780EF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780EF#FFFFFF#000000##000000
##C780EF1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#C391AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c780ef;
/* rgb */ color: rgb(199, 128, 239);
/* oklch */ color: oklch(71.6% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#daa6f4',
    500: '#c780ef',
    950: '#000000',
  },
}
SCSS
$custom: #c780ef;
$custom-light: #daa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c780ef",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 278.378,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71587,
    "c": 0.17044,
    "h": 312.3
  },
  "luminance": 0.33812
}

Semantic roles & 50–950 ramp

primary
#C780EF
secondary
#E2F3D7
accent
#DA0C56
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C780EF

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

Preview Lab → · Contrast checker → · Palette generator →

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