#C780EB#C780EB

#C780EB is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.4% C 0.166 H 313.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C780EB
RGBrgb(199, 128, 235)
HSLhsl(280, 73%, 71%)
HSVhsv(280, 46%, 92%)
CMYKcmyk(15.3%, 45.5%, 0%, 7.8%)
CIE-LABlab(64.63, 45.78, -43.41)
CIE-LCHlch(64.63, 63.09, 316.52°)
OKLaboklab(71.39% 0.1141 -0.1205)
OKLCHoklch(71.39% 0.166 313.4)
XYZxyz(46.2653, 33.5797, 82.6255)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780EB #A4EB80
analogous
#9180EB #C780EB #EB80D9
triadic
#C780EB #EBC780 #80EBC7
tetradic
#C780EB #EB9180 #A4EB80 #80D9EB
square
#C780EB #EB9180 #A4EB80 #80D9EB
split-complementary
#C780EB #D9EB80 #80EB91
monochromatic
#9521D0 #B04BE3 #C780EB #DEB5F3 #F3E5FB

Accessibility & contrast

On white

2.72
#C780EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#C780EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780EB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780EB#FFFFFF#000000##000000
##C780EB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c780eb;
/* rgb */ color: rgb(199, 128, 235);
/* oklch */ color: oklch(71.4% 0.166 313.4);
Tailwind
colors: {
  custom: {
    50: '#daa6f2',
    500: '#c780eb',
    950: '#000000',
  },
}
SCSS
$custom: #c780eb;
$custom-light: #daa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c780eb",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 279.813,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71386,
    "c": 0.16599,
    "h": 313.4
  },
  "luminance": 0.33579
}

Semantic roles & 50–950 ramp

primary
#C780EB
secondary
#DFF1D5
accent
#D51153
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C780EB

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

Preview Lab → · Contrast checker → · Palette generator →

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