#C780EA#C780EA

#C780EA is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.3% C 0.165 H 313.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C780EA
RGBrgb(199, 128, 234)
HSLhsl(280, 72%, 71%)
HSVhsv(280, 45%, 92%)
CMYKcmyk(15%, 45.3%, 0%, 8.2%)
CIE-LABlab(64.58, 45.57, -42.93)
CIE-LCHlch(64.58, 62.61, 316.71°)
OKLaboklab(71.34% 0.114 -0.1192)
OKLCHoklch(71.34% 0.165 313.7)
XYZxyz(46.1212, 33.5220, 81.8668)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780EA #A3EA80
analogous
#9280EA #C780EA #EA80D8
triadic
#C780EA #EAC780 #80EAC7
tetradic
#C780EA #EA9280 #A3EA80 #80D8EA
square
#C780EA #EA9280 #A3EA80 #80D8EA
split-complementary
#C780EA #D8EA80 #80EA92
monochromatic
#9522CE #B04BE1 #C780EA #DEB5F3 #F3E5FB

Accessibility & contrast

On white

2.73
#C780EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C780EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780EA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780EA#FFFFFF#000000##000000
##C780EA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#7E9EE7
Tritanopia (blue-blind)
#C490AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c780ea;
/* rgb */ color: rgb(199, 128, 234);
/* oklch */ color: oklch(71.3% 0.165 313.7);
Tailwind
colors: {
  custom: {
    50: '#daa6f1',
    500: '#c780ea',
    950: '#000000',
  },
}
SCSS
$custom: #c780ea;
$custom-light: #daa6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c780ea",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 280.189,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71337,
    "c": 0.16488,
    "h": 313.7
  },
  "luminance": 0.33521
}

Semantic roles & 50–950 ramp

primary
#C780EA
secondary
#DEF1D5
accent
#D41252
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C780EA

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

Preview Lab → · Contrast checker → · Palette generator →

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