#C778EF#C778EF

#C778EF is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.4% C 0.183 H 313.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C778EF
RGBrgb(199, 120, 239)
HSLhsl(280, 79%, 70%)
HSVhsv(280, 50%, 94%)
CMYKcmyk(16.7%, 49.8%, 0%, 6.3%)
CIE-LABlab(63.18, 50.82, -47.90)
CIE-LCHlch(63.18, 69.83, 316.69°)
OKLaboklab(70.38% 0.1255 -0.1335)
OKLCHoklch(70.38% 0.183 313.2)
XYZxyz(45.8470, 31.8082, 85.3691)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C778EF #A0EF78
analogous
#8B78EF #C778EF #EF78DB
triadic
#C778EF #EFC778 #78EFC7
tetradic
#C778EF #EF8B78 #A0EF78 #78DBEF
square
#C778EF #EF8B78 #A0EF78 #78DBEF
split-complementary
#C778EF #DBEF78 #78EF8B
monochromatic
#9519D4 #B041E9 #C778EF #DEAFF5 #F4E4FC

Accessibility & contrast

On white

2.85
#C778EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C778EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C778EF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C778EF#FFFFFF#000000##000000
##C778EF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F3
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#C38BA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c778ef;
/* rgb */ color: rgb(199, 120, 239);
/* oklch */ color: oklch(70.4% 0.183 313.2);
Tailwind
colors: {
  custom: {
    50: '#daa1f5',
    500: '#c778ef',
    950: '#000000',
  },
}
SCSS
$custom: #c778ef;
$custom-light: #daa1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c778ef",
  "rgb": {
    "r": 199,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 279.832,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70375,
    "c": 0.18324,
    "h": 313.2
  },
  "luminance": 0.31807
}

Semantic roles & 50–950 ramp

primary
#C778EF
secondary
#DCF2D1
accent
#DB0A51
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C778EF

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

Preview Lab → · Contrast checker → · Palette generator →

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