#C778FF#C778FF

#C778FF is a light, highly saturated violet. Relative luminance 0.328; OKLCH L 71.2% C 0.201 H 309.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C778FF
RGBrgb(199, 120, 255)
HSLhsl(275, 100%, 74%)
HSVhsv(275, 53%, 100%)
CMYKcmyk(22%, 52.9%, 0%, 0%)
CIE-LABlab(64.00, 54.24, -55.42)
CIE-LCHlch(64.00, 77.55, 314.38°)
OKLaboklab(71.24% 0.1269 -0.1554)
OKLCHoklch(71.24% 0.201 309.2)
XYZxyz(48.3162, 32.7958, 98.3733)
Luminance0.3280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778FF #B0FF78
analogous
#8378FF #C778FF #FF78F4
triadic
#C778FF #FFC778 #78FFC7
tetradic
#C778FF #FF8378 #B0FF78 #78F4FF
square
#C778FF #FF8378 #B0FF78 #78F4FF
split-complementary
#C778FF #F4FF78 #78FF83
monochromatic
#9400FD #AE3BFF #C778FF #E0B5FF #F2E0FF

Accessibility & contrast

On white

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

On black

7.56
#C778FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778FF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778FF#FFFFFF#000000##000000
##C778FF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5098FF
Deuteranopia (green-blind)
#6A9CFC
Tritanopia (blue-blind)
#BF90B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c778ff;
/* rgb */ color: rgb(199, 120, 255);
/* oklch */ color: oklch(71.2% 0.201 309.2);
Tailwind
colors: {
  custom: {
    50: '#dba1ff',
    500: '#c778ff',
    950: '#000000',
  },
}
SCSS
$custom: #c778ff;
$custom-light: #dba1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c778ff",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 275.111,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71238,
    "c": 0.20064,
    "h": 309.2
  },
  "luminance": 0.32795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C778FF

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

Preview Lab → · Contrast checker → · Palette generator →

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