#C682F2#C682F2
#C682F2 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.9% C 0.170 H 310.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C682F2 |
|---|---|
| RGB | rgb(198, 130, 242) |
| HSL | hsl(276, 81%, 73%) |
| HSV | hsv(276, 46%, 95%) |
| CMYK | cmyk(18.2%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(65.27, 45.93, -46.28) |
| CIE-LCH | lch(65.27, 65.20, 314.79°) |
| OKLab | oklab(71.95% 0.1112 -0.1289) |
| OKLCH | oklch(71.95% 0.17 310.8) |
| XYZ | xyz(47.2954, 34.3827, 88.1322) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.19
Liliac
#C48EFD
ΔE00 3.41
Easter Purple
#C071FE
ΔE00 4.76
Light Urple
#B36FF6
ΔE00 6.09
Baby Purple
#CA9BF7
ΔE00 6.18
Pale Purple
#B790D4
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C682F2 #AEF282
analogous
#8E82F2 #C682F2 #F282E6
triadic
#C682F2 #F2C682 #82F2C6
tetradic
#C682F2 #F28E82 #AEF282 #82E6F2
square
#C682F2 #F28E82 #AEF282 #82E6F2
split-complementary
#C682F2 #E6F282 #82F28E
monochromatic
#9318E2 #AD4BEC #C682F2 #DFB9F8 #F2E3FC
Accessibility & contrast
On white
2.67
#C682F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#C682F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C682F2
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C682F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C682F2 | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#C194AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c682f2; /* rgb */ color: rgb(198, 130, 242); /* oklch */ color: oklch(71.9% 0.170 310.8);
Tailwind
colors: {
custom: {
50: '#d9a8f7',
500: '#c682f2',
950: '#000000',
},
}SCSS
$custom: #c682f2; $custom-light: #d9a8f7; $custom-dark: #000000;
JSON
{
"hex": "#c682f2",
"rgb": {
"r": 198,
"g": 130,
"b": 242
},
"hsl": {
"h": 276.429,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.71945,
"c": 0.17021,
"h": 310.8
},
"luminance": 0.34382
}Semantic roles & 50–950 ramp
primary
#C682F2
secondary
#E2F4D7
accent
#DE085C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85