#C778FC#C778FC

#C778FC is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.1% C 0.197 H 309.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#C778FC
RGBrgb(199, 120, 252)
HSLhsl(276, 96%, 73%)
HSVhsv(276, 52%, 99%)
CMYKcmyk(21%, 52.4%, 0%, 1.2%)
CIE-LABlab(63.84, 53.59, -54.02)
CIE-LCHlch(63.84, 76.09, 314.77°)
OKLaboklab(71.07% 0.1267 -0.1514)
OKLCHoklch(71.07% 0.197 309.9)
XYZxyz(47.8370, 32.6042, 95.8498)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778FC #ADFC78
analogous
#8578FC #C778FC #FC78EF
triadic
#C778FC #FCC778 #78FCC7
tetradic
#C778FC #FC8578 #ADFC78 #78EFFC
square
#C778FC #FC8578 #ADFC78 #78EFFC
split-complementary
#C778FC #EFFC78 #78FC85
monochromatic
#9405F4 #AE3CFB #C778FC #E0B4FD #F3E1FE

Accessibility & contrast

On white

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

On black

7.52
#C778FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778FC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778FC#FFFFFF#000000##000000
##C778FC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c778fc;
/* rgb */ color: rgb(199, 120, 252);
/* oklch */ color: oklch(71.1% 0.197 309.9);
Tailwind
colors: {
  custom: {
    50: '#dba1fe',
    500: '#c778fc',
    950: '#000000',
  },
}
SCSS
$custom: #c778fc;
$custom-light: #dba1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c778fc",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 275.909,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71072,
    "c": 0.19737,
    "h": 309.9
  },
  "luminance": 0.32603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C778FC

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

Preview Lab → · Contrast checker → · Palette generator →

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