#C684F5#C684F5
#C684F5 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.4% C 0.170 H 309.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C684F5 |
|---|---|
| RGB | rgb(198, 132, 245) |
| HSL | hsl(275, 85%, 74%) |
| HSV | hsv(275, 46%, 96%) |
| CMYK | cmyk(19.2%, 46.1%, 0%, 3.9%) |
| CIE-LAB | lab(65.83, 45.52, -47.04) |
| CIE-LCH | lch(65.83, 65.46, 314.06°) |
| OKLab | oklab(72.41% 0.1089 -0.1311) |
| OKLCH | oklch(72.41% 0.17 309.7) |
| XYZ | xyz(48.0183, 35.1016, 90.6142) |
| Luminance | 0.3510 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.78
Light Purple
#BF77F6
ΔE00 3.42
Easter Purple
#C071FE
ΔE00 4.93
Baby Purple
#CA9BF7
ΔE00 5.75
Light Urple
#B36FF6
ΔE00 6.29
Pastel Purple
#CAA0FF
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C684F5 #B3F584
analogous
#8E84F5 #C684F5 #F584EC
triadic
#C684F5 #F5C684 #84F5C6
tetradic
#C684F5 #F58E84 #B3F584 #84ECF5
square
#C684F5 #F58E84 #B3F584 #84ECF5
split-complementary
#C684F5 #ECF584 #84F58E
monochromatic
#9113EB #AC4BF0 #C684F5 #E0BDFA #F2E3FD
Accessibility & contrast
On white
2.62
#C684F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#C684F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C684F5
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C684F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C684F5 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#7BA1F2
Tritanopia (blue-blind)
#C096B1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c684f5; /* rgb */ color: rgb(198, 132, 245); /* oklch */ color: oklch(72.4% 0.170 309.7);
Tailwind
colors: {
custom: {
50: '#d9a9f9',
500: '#c684f5',
950: '#000000',
},
}SCSS
$custom: #c684f5; $custom-light: #d9a9f9; $custom-dark: #000000;
JSON
{
"hex": "#c684f5",
"rgb": {
"r": 198,
"g": 132,
"b": 245
},
"hsl": {
"h": 275.044,
"s": 84.962,
"l": 73.922
},
"oklch": {
"l": 0.72411,
"c": 0.17041,
"h": 309.7
},
"luminance": 0.35101
}Semantic roles & 50–950 ramp
primary
#C684F5
secondary
#E3F5D6
accent
#E10460
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85