#C662FA#C662FA
#C662FA is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.9% C 0.227 H 312.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C662FA |
|---|---|
| RGB | rgb(198, 98, 250) |
| HSL | hsl(279, 94%, 68%) |
| HSV | hsv(279, 61%, 98%) |
| CMYK | cmyk(20.8%, 60.8%, 0%, 2%) |
| CIE-LAB | lab(59.57, 63.72, -59.74) |
| CIE-LCH | lch(59.57, 87.34, 316.84°) |
| OKLab | oklab(67.88% 0.1525 -0.168) |
| OKLCH | oklch(67.88% 0.227 312.2) |
| XYZ | xyz(44.9086, 27.6444, 93.3941) |
| Luminance | 0.2764 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.72
Bright Lilac
#C95EFB
ΔE00 0.75
Easter Purple
#C071FE
ΔE00 3.17
Light Urple
#B36FF6
ΔE00 3.86
Heliotrope
#D94FF5
ΔE00 3.96
Light Purple
#BF77F6
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C662FA #96FA62
analogous
#7A62FA #C662FA #FA62E2
triadic
#C662FA #FAC662 #62FAC6
tetradic
#C662FA #FA7A62 #96FA62 #62E2FA
square
#C662FA #FA7A62 #96FA62 #62E2FA
split-complementary
#C662FA #E2FA62 #62FA7A
monochromatic
#9207DB #B027F8 #C662FA #DC9DFC #F1D9FE
Accessibility & contrast
On white
3.22
#C662FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#C662FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C662FA
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C662FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C662FA | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#258AFF
Deuteranopia (green-blind)
#5792F6
Tritanopia (blue-blind)
#C07FA5
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c662fa; /* rgb */ color: rgb(198, 98, 250); /* oklch */ color: oklch(67.9% 0.227 312.2);
Tailwind
colors: {
custom: {
50: '#db94fd',
500: '#c662fa',
950: '#000000',
},
}SCSS
$custom: #c662fa; $custom-light: #db94fd; $custom-dark: #000000;
JSON
{
"hex": "#c662fa",
"rgb": {
"r": 198,
"g": 98,
"b": 250
},
"hsl": {
"h": 279.474,
"s": 93.827,
"l": 68.235
},
"oklch": {
"l": 0.67885,
"c": 0.22688,
"h": 312.2
},
"luminance": 0.27643
}Semantic roles & 50–950 ramp
primary
#C662FA
secondary
#D5F3C5
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86