#C778FE#C778FE

#C778FE is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.2% C 0.200 H 309.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C778FE
RGBrgb(199, 120, 254)
HSLhsl(275, 99%, 73%)
HSVhsv(275, 53%, 100%)
CMYKcmyk(21.7%, 52.8%, 0%, 0.4%)
CIE-LABlab(63.94, 54.02, -54.96)
CIE-LCHlch(63.94, 77.06, 314.51°)
OKLaboklab(71.18% 0.1268 -0.1541)
OKLCHoklch(71.18% 0.2 309.5)
XYZxyz(48.1556, 32.7316, 97.5277)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778FE #AFFE78
analogous
#8478FE #C778FE #FE78F2
triadic
#C778FE #FEC778 #78FEC7
tetradic
#C778FE #FE8478 #AFFE78 #78F2FE
square
#C778FE #FE8478 #AFFE78 #78F2FE
split-complementary
#C778FE #F2FE78 #78FE84
monochromatic
#9402FA #AE3BFE #C778FE #E0B5FE #F2E1FF

Accessibility & contrast

On white

2.78
#C778FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C778FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778FE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778FE#FFFFFF#000000##000000
##C778FE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#C08FB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c778fe;
/* rgb */ color: rgb(199, 120, 254);
/* oklch */ color: oklch(71.2% 0.200 309.5);
Tailwind
colors: {
  custom: {
    50: '#dba1ff',
    500: '#c778fe',
    950: '#000000',
  },
}
SCSS
$custom: #c778fe;
$custom-light: #dba1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c778fe",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 275.373,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71183,
    "c": 0.19955,
    "h": 309.5
  },
  "luminance": 0.32731
}

Semantic roles & 50–950 ramp

primary
#C778FE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C778FE

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

Preview Lab → · Contrast checker → · Palette generator →

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