#C780ED#C780ED

#C780ED is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.5% C 0.168 H 312.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C780ED
RGBrgb(199, 128, 237)
HSLhsl(279, 75%, 72%)
HSVhsv(279, 46%, 93%)
CMYKcmyk(16%, 46%, 0%, 7.1%)
CIE-LABlab(64.72, 46.21, -44.37)
CIE-LCHlch(64.72, 64.06, 316.16°)
OKLaboklab(71.49% 0.1144 -0.1233)
OKLCHoklch(71.49% 0.168 312.8)
XYZxyz(46.5558, 33.6959, 84.1558)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780ED #A6ED80
analogous
#9180ED #C780ED #ED80DC
triadic
#C780ED #EDC780 #80EDC7
tetradic
#C780ED #ED9180 #A6ED80 #80DCED
square
#C780ED #ED9180 #A6ED80 #80DCED
split-complementary
#C780ED #DCED80 #80ED91
monochromatic
#951ED4 #AF4AE5 #C780ED #DFB6F5 #F3E4FB

Accessibility & contrast

On white

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

On black

7.74
#C780ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780ED
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780ED#FFFFFF#000000##000000
##C780ED1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#7C9FEA
Tritanopia (blue-blind)
#C491AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c780ed;
/* rgb */ color: rgb(199, 128, 237);
/* oklch */ color: oklch(71.5% 0.168 312.8);
Tailwind
colors: {
  custom: {
    50: '#daa6f3',
    500: '#c780ed',
    950: '#000000',
  },
}
SCSS
$custom: #c780ed;
$custom-light: #daa6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c780ed",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 237
  },
  "hsl": {
    "h": 279.083,
    "s": 75.172,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71486,
    "c": 0.16821,
    "h": 312.8
  },
  "luminance": 0.33695
}

Semantic roles & 50–950 ramp

primary
#C780ED
secondary
#E0F2D6
accent
#D70E54
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C780ED

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

Preview Lab → · Contrast checker → · Palette generator →

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