#C778FD#C778FD

#C778FD is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.1% C 0.198 H 309.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#C778FD
RGBrgb(199, 120, 253)
HSLhsl(276, 97%, 73%)
HSVhsv(276, 53%, 99%)
CMYKcmyk(21.3%, 52.6%, 0%, 0.8%)
CIE-LABlab(63.89, 53.80, -54.49)
CIE-LCHlch(63.89, 76.58, 314.64°)
OKLaboklab(71.13% 0.1267 -0.1527)
OKLCHoklch(71.13% 0.198 309.7)
XYZxyz(47.9959, 32.6677, 96.6866)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778FD #AEFD78
analogous
#8478FD #C778FD #FD78F0
triadic
#C778FD #FDC778 #78FDC7
tetradic
#C778FD #FD8478 #AEFD78 #78F0FD
square
#C778FD #FD8478 #AEFD78 #78F0FD
split-complementary
#C778FD #F0FD78 #78FD84
monochromatic
#9404F7 #AE3CFC #C778FD #E0B4FE #F2E1FF

Accessibility & contrast

On white

2.79
#C778FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#C778FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778FD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778FD#FFFFFF#000000##000000
##C778FD1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6B9CFA
Tritanopia (blue-blind)
#C08FAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c778fd;
/* rgb */ color: rgb(199, 120, 253);
/* oklch */ color: oklch(71.1% 0.198 309.7);
Tailwind
colors: {
  custom: {
    50: '#dba1fe',
    500: '#c778fd',
    950: '#000000',
  },
}
SCSS
$custom: #c778fd;
$custom-light: #dba1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c778fd",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 275.639,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71127,
    "c": 0.19846,
    "h": 309.7
  },
  "luminance": 0.32667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C778FD

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

Preview Lab → · Contrast checker → · Palette generator →

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