#C780FC#C780FC

#C780FC is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.185 H 308.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#C780FC
RGBrgb(199, 128, 252)
HSLhsl(274, 95%, 75%)
HSVhsv(274, 49%, 99%)
CMYKcmyk(21%, 49.2%, 0%, 1.2%)
CIE-LABlab(65.44, 49.43, -51.48)
CIE-LCHlch(65.44, 71.37, 313.84°)
OKLaboklab(72.26% 0.1162 -0.144)
OKLCHoklch(72.26% 0.185 308.9)
XYZxyz(48.8397, 34.6094, 96.1840)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780FC #B5FC80
analogous
#8980FC #C780FC #FC80F3
triadic
#C780FC #FCC780 #80FCC7
tetradic
#C780FC #FC8980 #B5FC80 #80F3FC
square
#C780FC #FC8980 #B5FC80 #80F3FC
split-complementary
#C780FC #F3FC80 #80FC89
monochromatic
#9208F9 #AD44FB #C780FC #E1BCFD #F2E1FE

Accessibility & contrast

On white

2.65
#C780FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#C780FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780FC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780FC#FFFFFF#000000##000000
##C780FC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#C095B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c780fc;
/* rgb */ color: rgb(199, 128, 252);
/* oklch */ color: oklch(72.3% 0.185 308.9);
Tailwind
colors: {
  custom: {
    50: '#daa7fe',
    500: '#c780fc',
    950: '#000000',
  },
}
SCSS
$custom: #c780fc;
$custom-light: #daa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c780fc",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 274.355,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7226,
    "c": 0.18504,
    "h": 308.9
  },
  "luminance": 0.34609
}

Semantic roles & 50–950 ramp

primary
#C780FC
secondary
#E3F7D4
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C780FC

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

Preview Lab → · Contrast checker → · Palette generator →

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