#CA7FEE#CA7FEE
#CA7FEE is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.172 H 313.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FEE |
|---|---|
| RGB | rgb(202, 127, 238) |
| HSL | hsl(281, 77%, 72%) |
| HSV | hsv(281, 47%, 93%) |
| CMYK | cmyk(15.1%, 46.6%, 0%, 6.7%) |
| CIE-LAB | lab(64.89, 47.77, -44.63) |
| CIE-LCH | lch(64.89, 65.38, 316.95°) |
| OKLab | oklab(71.7% 0.1194 -0.124) |
| OKLCH | oklch(71.7% 0.172 313.9) |
| XYZ | xyz(47.3766, 33.9095, 84.9218) |
| Luminance | 0.3391 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.57
Liliac
#C48EFD
ΔE00 4.62
Easter Purple
#C071FE
ΔE00 5.03
Orchid
#DA70D6
ΔE00 6.42
Light Urple
#B36FF6
ΔE00 6.45
Violet (CSS)
#EE82EE
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FEE #A3EE7F
analogous
#937FEE #CA7FEE #EE7FDA
triadic
#CA7FEE #EECA7F #7FEECA
tetradic
#CA7FEE #EE937F #A3EE7F #7FDAEE
square
#CA7FEE #EE937F #A3EE7F #7FDAEE
split-complementary
#CA7FEE #DAEE7F #7FEE93
monochromatic
#9A1CD6 #B449E7 #CA7FEE #E0B5F5 #F4E4FB
Accessibility & contrast
On white
2.70
#CA7FEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#CA7FEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FEE
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FEE | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#C790AB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7fee; /* rgb */ color: rgb(202, 127, 238); /* oklch */ color: oklch(71.7% 0.172 313.9);
Tailwind
colors: {
custom: {
50: '#dca6f4',
500: '#ca7fee',
950: '#000000',
},
}SCSS
$custom: #ca7fee; $custom-light: #dca6f4; $custom-dark: #000000;
JSON
{
"hex": "#ca7fee",
"rgb": {
"r": 202,
"g": 127,
"b": 238
},
"hsl": {
"h": 280.541,
"s": 76.552,
"l": 71.569
},
"oklch": {
"l": 0.71702,
"c": 0.17217,
"h": 313.9
},
"luminance": 0.33908
}Semantic roles & 50–950 ramp
primary
#CA7FEE
secondary
#DFF3D6
accent
#D90D4F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85