#C662FB#C662FB
#C662FB is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.9% C 0.228 H 312.0°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C662FB |
|---|---|
| RGB | rgb(198, 98, 251) |
| HSL | hsl(279, 95%, 68%) |
| HSV | hsv(279, 61%, 98%) |
| CMYK | cmyk(21.1%, 61%, 0%, 1.6%) |
| CIE-LAB | lab(59.62, 63.92, -60.20) |
| CIE-LCH | lch(59.62, 87.81, 316.72°) |
| OKLab | oklab(67.94% 0.1525 -0.1693) |
| OKLCH | oklch(67.94% 0.228 312) |
| XYZ | xyz(45.0658, 27.7073, 94.2221) |
| Luminance | 0.2771 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.60
Bright Lilac
#C95EFB
ΔE00 0.77
Easter Purple
#C071FE
ΔE00 3.12
Light Urple
#B36FF6
ΔE00 3.84
Heliotrope
#D94FF5
ΔE00 4.03
Light Purple
#BF77F6
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C662FB #97FB62
analogous
#7962FB #C662FB #FB62E3
triadic
#C662FB #FBC662 #62FBC6
tetradic
#C662FB #FB7962 #97FB62 #62E3FB
square
#C662FB #FB7962 #97FB62 #62E3FB
split-complementary
#C662FB #E3FB62 #62FB79
monochromatic
#9206DD #B026F9 #C662FB #DC9EFD #F1D9FE
Accessibility & contrast
On white
3.21
#C662FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#C662FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C662FB
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C662FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C662FB | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#238BFF
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#C07FA6
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c662fb; /* rgb */ color: rgb(198, 98, 251); /* oklch */ color: oklch(67.9% 0.228 312.0);
Tailwind
colors: {
custom: {
50: '#db94fd',
500: '#c662fb',
950: '#000000',
},
}SCSS
$custom: #c662fb; $custom-light: #db94fd; $custom-dark: #000000;
JSON
{
"hex": "#c662fb",
"rgb": {
"r": 198,
"g": 98,
"b": 251
},
"hsl": {
"h": 279.216,
"s": 95.031,
"l": 68.431
},
"oklch": {
"l": 0.67945,
"c": 0.22787,
"h": 312
},
"luminance": 0.27706
}Semantic roles & 50–950 ramp
primary
#C662FB
secondary
#D5F3C5
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86