#C780FA#C780FA

#C780FA is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.183 H 309.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#C780FA
RGBrgb(199, 128, 250)
HSLhsl(275, 92%, 74%)
HSVhsv(275, 49%, 98%)
CMYKcmyk(20.4%, 48.8%, 0%, 2%)
CIE-LABlab(65.34, 48.99, -50.54)
CIE-LCHlch(65.34, 70.39, 314.11°)
OKLaboklab(72.15% 0.116 -0.1412)
OKLCHoklch(72.15% 0.183 309.4)
XYZxyz(48.5244, 34.4833, 94.5236)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780FA #B3FA80
analogous
#8A80FA #C780FA #FA80F0
triadic
#C780FA #FAC780 #80FAC7
tetradic
#C780FA #FA8A80 #B3FA80 #80F0FA
square
#C780FA #FA8A80 #B3FA80 #80F0FA
split-complementary
#C780FA #F0FA80 #80FA8A
monochromatic
#930AF5 #AD45F8 #C780FA #E1BBFC #F2E2FE

Accessibility & contrast

On white

2.66
#C780FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#C780FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780FA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780FA#FFFFFF#000000##000000
##C780FA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#C094B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c780fa;
/* rgb */ color: rgb(199, 128, 250);
/* oklch */ color: oklch(72.2% 0.183 309.4);
Tailwind
colors: {
  custom: {
    50: '#daa7fc',
    500: '#c780fa',
    950: '#000000',
  },
}
SCSS
$custom: #c780fa;
$custom-light: #daa7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c780fa",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 274.918,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72154,
    "c": 0.18278,
    "h": 309.4
  },
  "luminance": 0.34483
}

Semantic roles & 50–950 ramp

primary
#C780FA
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C780FA

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

Preview Lab → · Contrast checker → · Palette generator →

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