#C678F8#C678F8
#C678F8 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.7% C 0.193 H 310.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #C678F8 |
|---|---|
| RGB | rgb(198, 120, 248) |
| HSL | hsl(277, 90%, 72%) |
| HSV | hsv(277, 52%, 97%) |
| CMYK | cmyk(20.2%, 51.6%, 0%, 2.7%) |
| CIE-LAB | lab(63.52, 52.47, -52.34) |
| CIE-LCH | lch(63.52, 74.11, 315.07°) |
| OKLab | oklab(70.75% 0.1252 -0.1465) |
| OKLCH | oklch(70.75% 0.193 310.5) |
| XYZ | xyz(46.9453, 32.2169, 92.5342) |
| Luminance | 0.3222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.27
Easter Purple
#C071FE
ΔE00 2.34
Light Urple
#B36FF6
ΔE00 4.17
Bright Lavender
#C760FF
ΔE00 4.91
Bright Lilac
#C95EFB
ΔE00 5.16
Liliac
#C48EFD
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C678F8 #AAF878
analogous
#8678F8 #C678F8 #F878EA
triadic
#C678F8 #F8C678 #78F8C6
tetradic
#C678F8 #F88678 #AAF878 #78EAF8
square
#C678F8 #F88678 #AAF878 #78EAF8
split-complementary
#C678F8 #EAF878 #78F886
monochromatic
#930CE9 #AD3EF5 #C678F8 #DFB2FB #F3E2FD
Accessibility & contrast
On white
2.82
#C678F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.44
#C678F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C678F8
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C678F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C678F8 | 1.00 | 2.82 | 7.44 | 7.44 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#C08EAD
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c678f8; /* rgb */ color: rgb(198, 120, 248); /* oklch */ color: oklch(70.7% 0.193 310.5);
Tailwind
colors: {
custom: {
50: '#daa1fb',
500: '#c678f8',
950: '#000000',
},
}SCSS
$custom: #c678f8; $custom-light: #daa1fb; $custom-dark: #000000;
JSON
{
"hex": "#c678f8",
"rgb": {
"r": 198,
"g": 120,
"b": 248
},
"hsl": {
"h": 276.563,
"s": 90.141,
"l": 72.157
},
"oklch": {
"l": 0.70746,
"c": 0.19265,
"h": 310.5
},
"luminance": 0.32216
}Semantic roles & 50–950 ramp
primary
#C678F8
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85