#C780DC#C780DC

#C780DC is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.150 H 318.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C780DC
RGBrgb(199, 128, 220)
HSLhsl(286, 57%, 68%)
HSVhsv(286, 42%, 86%)
CMYKcmyk(9.5%, 41.8%, 0%, 13.7%)
CIE-LABlab(63.96, 42.70, -36.13)
CIE-LCHlch(63.96, 55.94, 319.76°)
OKLaboklab(70.67% 0.1116 -0.0996)
OKLCHoklch(70.67% 0.15 318.2)
XYZxyz(44.1889, 32.7491, 71.6897)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780DC #95DC80
analogous
#9980DC #C780DC #DC80C3
triadic
#C780DC #DCC780 #80DCC7
tetradic
#C780DC #DC9980 #95DC80 #80C3DC
square
#C780DC #DC9980 #95DC80 #80C3DC
split-complementary
#C780DC #C3DC80 #80DC99
monochromatic
#9431B1 #B250CF #C780DC #DCB0E9 #F1E0F6

Accessibility & contrast

On white

2.78
#C780DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C780DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780DC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780DC#FFFFFF#000000##000000
##C780DC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#C78CA4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c780dc;
/* rgb */ color: rgb(199, 128, 220);
/* oklch */ color: oklch(70.7% 0.150 318.2);
Tailwind
colors: {
  custom: {
    50: '#d9a6e7',
    500: '#c780dc',
    950: '#000000',
  },
}
SCSS
$custom: #c780dc;
$custom-light: #d9a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c780dc",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 286.304,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70665,
    "c": 0.14955,
    "h": 318.2
  },
  "luminance": 0.32748
}

Semantic roles & 50–950 ramp

primary
#C780DC
secondary
#D4EACE
accent
#C42146
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C780DC

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

Preview Lab → · Contrast checker → · Palette generator →

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