#C780EE#C780EE

#C780EE is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.169 H 312.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C780EE
RGBrgb(199, 128, 238)
HSLhsl(279, 76%, 72%)
HSVhsv(279, 46%, 93%)
CMYKcmyk(16.4%, 46.2%, 0%, 6.7%)
CIE-LABlab(64.77, 46.42, -44.85)
CIE-LCHlch(64.77, 64.54, 315.98°)
OKLaboklab(71.54% 0.1145 -0.1247)
OKLCHoklch(71.54% 0.169 312.6)
XYZxyz(46.7023, 33.7545, 84.9274)
Luminance0.3375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780EE #A7EE80
analogous
#9080EE #C780EE #EE80DE
triadic
#C780EE #EEC780 #80EEC7
tetradic
#C780EE #EE9080 #A7EE80 #80DEEE
square
#C780EE #EE9080 #A7EE80 #80DEEE
split-complementary
#C780EE #DEEE80 #80EE90
monochromatic
#951DD7 #AF4AE7 #C780EE #DFB6F5 #F3E4FB

Accessibility & contrast

On white

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

On black

7.75
#C780EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780EE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780EE#FFFFFF#000000##000000
##C780EE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#C391AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c780ee;
/* rgb */ color: rgb(199, 128, 238);
/* oklch */ color: oklch(71.5% 0.169 312.6);
Tailwind
colors: {
  custom: {
    50: '#daa6f4',
    500: '#c780ee',
    950: '#000000',
  },
}
SCSS
$custom: #c780ee;
$custom-light: #daa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c780ee",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 238
  },
  "hsl": {
    "h": 278.727,
    "s": 76.389,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71536,
    "c": 0.16933,
    "h": 312.6
  },
  "luminance": 0.33754
}

Semantic roles & 50–950 ramp

primary
#C780EE
secondary
#E1F3D7
accent
#D90D55
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C780EE

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

Preview Lab → · Contrast checker → · Palette generator →

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