#CA7EF3#CA7EF3
#CA7EF3 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.8% C 0.179 H 312.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7EF3 |
|---|---|
| RGB | rgb(202, 126, 243) |
| HSL | hsl(279, 83%, 72%) |
| HSV | hsv(279, 48%, 95%) |
| CMYK | cmyk(16.9%, 48.1%, 0%, 4.7%) |
| CIE-LAB | lab(64.92, 49.35, -47.34) |
| CIE-LCH | lch(64.92, 68.38, 316.19°) |
| OKLab | oklab(71.8% 0.1214 -0.1318) |
| OKLCH | oklch(71.8% 0.179 312.6) |
| XYZ | xyz(47.9929, 33.9504, 88.8015) |
| Luminance | 0.3395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.92
Easter Purple
#C071FE
ΔE00 4.30
Liliac
#C48EFD
ΔE00 4.38
Light Urple
#B36FF6
ΔE00 5.91
Bright Lavender
#C760FF
ΔE00 6.63
Bright Lilac
#C95EFB
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7EF3 #A7F37E
analogous
#8F7EF3 #CA7EF3 #F37EE2
triadic
#CA7EF3 #F3CA7E #7EF3CA
tetradic
#CA7EF3 #F38F7E #A7F37E #7EE2F3
square
#CA7EF3 #F38F7E #A7F37E #7EE2F3
split-complementary
#CA7EF3 #E2F37E #7EF38F
monochromatic
#9A15E2 #B346EE #CA7EF3 #E1B6F8 #F3E3FC
Accessibility & contrast
On white
2.70
#CA7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CA7EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7EF3
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7EF3 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#799FF0
Tritanopia (blue-blind)
#C690AD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7ef3; /* rgb */ color: rgb(202, 126, 243); /* oklch */ color: oklch(71.8% 0.179 312.6);
Tailwind
colors: {
custom: {
50: '#dca5f7',
500: '#ca7ef3',
950: '#000000',
},
}SCSS
$custom: #ca7ef3; $custom-light: #dca5f7; $custom-dark: #000000;
JSON
{
"hex": "#ca7ef3",
"rgb": {
"r": 202,
"g": 126,
"b": 243
},
"hsl": {
"h": 278.974,
"s": 82.979,
"l": 72.353
},
"oklch": {
"l": 0.71803,
"c": 0.17925,
"h": 312.6
},
"luminance": 0.33949
}Semantic roles & 50–950 ramp
primary
#CA7EF3
secondary
#E1F4D7
accent
#DF0652
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85