#C780EC#C780EC

#C780EC is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.4% C 0.167 H 313.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#C780EC
RGBrgb(199, 128, 236)
HSLhsl(279, 74%, 71%)
HSVhsv(279, 46%, 93%)
CMYKcmyk(15.7%, 45.8%, 0%, 7.5%)
CIE-LABlab(64.67, 45.99, -43.89)
CIE-LCHlch(64.67, 63.58, 316.34°)
OKLaboklab(71.44% 0.1142 -0.1219)
OKLCHoklch(71.44% 0.167 313.1)
XYZxyz(46.4101, 33.6376, 83.3885)
Luminance0.3364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780EC #A5EC80
analogous
#9180EC #C780EC #EC80DB
triadic
#C780EC #ECC780 #80ECC7
tetradic
#C780EC #EC9180 #A5EC80 #80DBEC
square
#C780EC #EC9180 #A5EC80 #80DBEC
split-complementary
#C780EC #DBEC80 #80EC91
monochromatic
#951FD2 #B04BE4 #C780EC #DEB5F4 #F3E4FB

Accessibility & contrast

On white

2.72
#C780EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#C780EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780EC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780EC#FFFFFF#000000##000000
##C780EC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#C490AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c780ec;
/* rgb */ color: rgb(199, 128, 236);
/* oklch */ color: oklch(71.4% 0.167 313.1);
Tailwind
colors: {
  custom: {
    50: '#daa6f2',
    500: '#c780ec',
    950: '#000000',
  },
}
SCSS
$custom: #c780ec;
$custom-light: #daa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c780ec",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 279.444,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71436,
    "c": 0.16709,
    "h": 313.1
  },
  "luminance": 0.33637
}

Semantic roles & 50–950 ramp

primary
#C780EC
secondary
#DFF2D6
accent
#D60F53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C780EC

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

Preview Lab → · Contrast checker → · Palette generator →

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