#C684FC#C684FC
#C684FC is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.178 H 307.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C684FC |
|---|---|
| RGB | rgb(198, 132, 252) |
| HSL | hsl(273, 95%, 75%) |
| HSV | hsv(273, 48%, 99%) |
| CMYK | cmyk(21.4%, 47.6%, 0%, 1.2%) |
| CIE-LAB | lab(66.16, 47.05, -50.35) |
| CIE-LCH | lch(66.16, 68.91, 313.06°) |
| OKLab | oklab(72.77% 0.1097 -0.1407) |
| OKLCH | oklch(72.77% 0.178 307.9) |
| XYZ | xyz(49.1072, 35.5372, 96.3489) |
| Luminance | 0.3554 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.49
Light Purple
#BF77F6
ΔE00 3.28
Easter Purple
#C071FE
ΔE00 4.54
Baby Purple
#CA9BF7
ΔE00 6.01
Light Urple
#B36FF6
ΔE00 6.04
Pastel Purple
#CAA0FF
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C684FC #BAFC84
analogous
#8A84FC #C684FC #FC84F6
triadic
#C684FC #FCC684 #84FCC6
tetradic
#C684FC #FC8A84 #BAFC84 #84F6FC
square
#C684FC #FC8A84 #BAFC84 #84F6FC
split-complementary
#C684FC #F6FC84 #84FC8A
monochromatic
#8F0DF9 #AA48FB #C684FC #E2C0FD #F1E1FE
Accessibility & contrast
On white
2.59
#C684FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#C684FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C684FC
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C684FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C684FC | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#BE98B4
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c684fc; /* rgb */ color: rgb(198, 132, 252); /* oklch */ color: oklch(72.8% 0.178 307.9);
Tailwind
colors: {
custom: {
50: '#d9a9fe',
500: '#c684fc',
950: '#000000',
},
}SCSS
$custom: #c684fc; $custom-light: #d9a9fe; $custom-dark: #000000;
JSON
{
"hex": "#c684fc",
"rgb": {
"r": 198,
"g": 132,
"b": 252
},
"hsl": {
"h": 273,
"s": 95.238,
"l": 75.294
},
"oklch": {
"l": 0.72772,
"c": 0.17845,
"h": 307.9
},
"luminance": 0.35537
}Semantic roles & 50–950 ramp
primary
#C684FC
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86