#C662FC#C662FC
#C662FC is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 68.0% C 0.229 H 311.8°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #C662FC |
|---|---|
| RGB | rgb(198, 98, 252) |
| HSL | hsl(279, 96%, 69%) |
| HSV | hsv(279, 61%, 99%) |
| CMYK | cmyk(21.4%, 61.1%, 0%, 1.2%) |
| CIE-LAB | lab(59.68, 64.13, -60.66) |
| CIE-LCH | lch(59.68, 88.28, 316.59°) |
| OKLab | oklab(68.01% 0.1525 -0.1707) |
| OKLCH | oklch(68.01% 0.229 311.8) |
| XYZ | xyz(45.2239, 27.7705, 95.0545) |
| Luminance | 0.2777 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.49
Bright Lilac
#C95EFB
ΔE00 0.82
Easter Purple
#C071FE
ΔE00 3.08
Light Urple
#B36FF6
ΔE00 3.82
Heliotrope
#D94FF5
ΔE00 4.10
Light Purple
#BF77F6
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C662FC #98FC62
analogous
#7962FC #C662FC #FC62E5
triadic
#C662FC #FCC662 #62FCC6
tetradic
#C662FC #FC7962 #98FC62 #62E5FC
square
#C662FC #FC7962 #98FC62 #62E5FC
split-complementary
#C662FC #E5FC62 #62FC79
monochromatic
#9304DF #B026FB #C662FC #DC9EFD #F2DAFE
Accessibility & contrast
On white
3.20
#C662FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#C662FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C662FC
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C662FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C662FC | 1.00 | 3.20 | 6.55 | 6.55 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#218BFF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#C07FA6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c662fc; /* rgb */ color: rgb(198, 98, 252); /* oklch */ color: oklch(68.0% 0.229 311.8);
Tailwind
colors: {
custom: {
50: '#db94fe',
500: '#c662fc',
950: '#000000',
},
}SCSS
$custom: #c662fc; $custom-light: #db94fe; $custom-dark: #000000;
JSON
{
"hex": "#c662fc",
"rgb": {
"r": 198,
"g": 98,
"b": 252
},
"hsl": {
"h": 278.961,
"s": 96.25,
"l": 68.627
},
"oklch": {
"l": 0.68005,
"c": 0.22886,
"h": 311.8
},
"luminance": 0.27769
}Semantic roles & 50–950 ramp
primary
#C662FC
secondary
#D6F4C6
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86