#CA7EF1#CA7EF1
#CA7EF1 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.7% C 0.177 H 313.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7EF1 |
|---|---|
| RGB | rgb(202, 126, 241) |
| HSL | hsl(280, 80%, 72%) |
| HSV | hsv(280, 48%, 95%) |
| CMYK | cmyk(16.2%, 47.7%, 0%, 5.5%) |
| CIE-LAB | lab(64.83, 48.93, -46.39) |
| CIE-LCH | lch(64.83, 67.42, 316.53°) |
| OKLab | oklab(71.7% 0.1212 -0.1291) |
| OKLCH | oklch(71.7% 0.177 313.2) |
| XYZ | xyz(47.6925, 33.8302, 87.2196) |
| Luminance | 0.3383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.10
Easter Purple
#C071FE
ΔE00 4.52
Liliac
#C48EFD
ΔE00 4.53
Light Urple
#B36FF6
ΔE00 6.05
Orchid
#DA70D6
ΔE00 6.74
Bright Lavender
#C760FF
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7EF1 #A5F17E
analogous
#917EF1 #CA7EF1 #F17EDF
triadic
#CA7EF1 #F1CA7E #7EF1CA
tetradic
#CA7EF1 #F1917E #A5F17E #7EDFF1
square
#CA7EF1 #F1917E #A5F17E #7EDFF1
split-complementary
#CA7EF1 #DFF17E #7EF191
monochromatic
#9A18DD #B347EB #CA7EF1 #E1B5F7 #F4E3FC
Accessibility & contrast
On white
2.70
#CA7EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#CA7EF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7EF1
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7EF1 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6599F5
Deuteranopia (green-blind)
#7A9FEE
Tritanopia (blue-blind)
#C790AC
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7ef1; /* rgb */ color: rgb(202, 126, 241); /* oklch */ color: oklch(71.7% 0.177 313.2);
Tailwind
colors: {
custom: {
50: '#dca5f6',
500: '#ca7ef1',
950: '#000000',
},
}SCSS
$custom: #ca7ef1; $custom-light: #dca5f6; $custom-dark: #000000;
JSON
{
"hex": "#ca7ef1",
"rgb": {
"r": 202,
"g": 126,
"b": 241
},
"hsl": {
"h": 279.652,
"s": 80.42,
"l": 71.961
},
"oklch": {
"l": 0.71701,
"c": 0.17707,
"h": 313.2
},
"luminance": 0.33829
}Semantic roles & 50–950 ramp
primary
#CA7EF1
secondary
#E1F4D7
accent
#DD0951
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85