#C678F7#C678F7
#C678F7 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.7% C 0.192 H 310.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C678F7 |
|---|---|
| RGB | rgb(198, 120, 247) |
| HSL | hsl(277, 89%, 72%) |
| HSV | hsv(277, 51%, 97%) |
| CMYK | cmyk(19.8%, 51.4%, 0%, 3.1%) |
| CIE-LAB | lab(63.47, 52.25, -51.87) |
| CIE-LCH | lch(63.47, 73.62, 315.21°) |
| OKLab | oklab(70.69% 0.1251 -0.1451) |
| OKLCH | oklch(70.69% 0.192 310.8) |
| XYZ | xyz(46.7906, 32.1550, 91.7193) |
| Luminance | 0.3215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.30
Easter Purple
#C071FE
ΔE00 2.43
Light Urple
#B36FF6
ΔE00 4.21
Bright Lavender
#C760FF
ΔE00 4.95
Bright Lilac
#C95EFB
ΔE00 5.17
Liliac
#C48EFD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C678F7 #A9F778
analogous
#8778F7 #C678F7 #F778E9
triadic
#C678F7 #F7C678 #78F7C6
tetradic
#C678F7 #F78778 #A9F778 #78E9F7
square
#C678F7 #F78778 #A9F778 #78E9F7
split-complementary
#C678F7 #E9F778 #78F787
monochromatic
#930EE7 #AE3EF4 #C678F7 #DEB2FA #F3E2FD
Accessibility & contrast
On white
2.83
#C678F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#C678F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C678F7
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C678F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C678F7 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#C08DAC
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c678f7; /* rgb */ color: rgb(198, 120, 247); /* oklch */ color: oklch(70.7% 0.192 310.8);
Tailwind
colors: {
custom: {
50: '#daa1fa',
500: '#c678f7',
950: '#000000',
},
}SCSS
$custom: #c678f7; $custom-light: #daa1fa; $custom-dark: #000000;
JSON
{
"hex": "#c678f7",
"rgb": {
"r": 198,
"g": 120,
"b": 247
},
"hsl": {
"h": 276.85,
"s": 88.811,
"l": 71.961
},
"oklch": {
"l": 0.70692,
"c": 0.19156,
"h": 310.8
},
"luminance": 0.32154
}Semantic roles & 50–950 ramp
primary
#C678F7
secondary
#E2F5D5
accent
#E50059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85