#C780DF#C780DF

#C780DF is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.8% C 0.153 H 317.2°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#C780DF
RGBrgb(199, 128, 223)
HSLhsl(285, 60%, 69%)
HSVhsv(285, 43%, 87%)
CMYKcmyk(10.8%, 42.6%, 0%, 12.5%)
CIE-LABlab(64.09, 43.30, -37.60)
CIE-LCHlch(64.09, 57.35, 319.03°)
OKLaboklab(70.81% 0.1121 -0.1038)
OKLCHoklch(70.81% 0.153 317.2)
XYZxyz(44.5897, 32.9095, 73.8010)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780DF #98DF80
analogous
#9880DF #C780DF #DF80C8
triadic
#C780DF #DFC780 #80DFC7
tetradic
#C780DF #DF9880 #98DF80 #80C8DF
square
#C780DF #DF9880 #98DF80 #80C8DF
split-complementary
#C780DF #C8DF80 #80DF98
monochromatic
#942EB7 #B14FD3 #C780DF #DDB1EB #F2E2F8

Accessibility & contrast

On white

2.77
#C780DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#C780DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780DF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780DF#FFFFFF#000000##000000
##C780DF1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#839EDC
Tritanopia (blue-blind)
#C78DA5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c780df;
/* rgb */ color: rgb(199, 128, 223);
/* oklch */ color: oklch(70.8% 0.153 317.2);
Tailwind
colors: {
  custom: {
    50: '#d9a6e9',
    500: '#c780df',
    950: '#000000',
  },
}
SCSS
$custom: #c780df;
$custom-light: #d9a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c780df",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 223
  },
  "hsl": {
    "h": 284.842,
    "s": 59.748,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70806,
    "c": 0.15279,
    "h": 317.2
  },
  "luminance": 0.32908
}

Semantic roles & 50–950 ramp

primary
#C780DF
secondary
#D6EBCF
accent
#C71E49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C780DF

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

Preview Lab → · Contrast checker → · Palette generator →

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