#CA7FE7#CA7FE7
#CA7FE7 is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.165 H 316.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FE7 |
|---|---|
| RGB | rgb(202, 127, 231) |
| HSL | hsl(283, 68%, 70%) |
| HSV | hsv(283, 45%, 91%) |
| CMYK | cmyk(12.6%, 45%, 0%, 9.4%) |
| CIE-LAB | lab(64.57, 46.33, -41.27) |
| CIE-LCH | lch(64.57, 62.04, 318.31°) |
| OKLab | oklab(71.36% 0.1184 -0.1143) |
| OKLCH | oklch(71.36% 0.165 316) |
| XYZ | xyz(46.3681, 33.5061, 79.6106) |
| Luminance | 0.3351 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.49
Liliac
#C48EFD
ΔE00 5.42
Orchid
#DA70D6
ΔE00 5.55
Easter Purple
#C071FE
ΔE00 5.97
Lavender Pink
#DD85D7
ΔE00 6.24
Violet (CSS)
#EE82EE
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FE7 #9CE77F
analogous
#967FE7 #CA7FE7 #E77FD0
triadic
#CA7FE7 #E7CA7F #7FE7CA
tetradic
#CA7FE7 #E7967F #9CE77F #7FD0E7
square
#CA7FE7 #E7967F #9CE77F #7FD0E7
split-complementary
#CA7FE7 #D0E77F #7FE796
monochromatic
#9925C6 #B54BDD #CA7FE7 #DFB3F1 #F4E5FA
Accessibility & contrast
On white
2.73
#CA7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#CA7FE7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FE7
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FE7 | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C98EB
Deuteranopia (green-blind)
#809FE4
Tritanopia (blue-blind)
#C98EA8
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7fe7; /* rgb */ color: rgb(202, 127, 231); /* oklch */ color: oklch(71.4% 0.165 316.0);
Tailwind
colors: {
custom: {
50: '#dca6ef',
500: '#ca7fe7',
950: '#000000',
},
}SCSS
$custom: #ca7fe7; $custom-light: #dca6ef; $custom-dark: #000000;
JSON
{
"hex": "#ca7fe7",
"rgb": {
"r": 202,
"g": 127,
"b": 231
},
"hsl": {
"h": 283.269,
"s": 68.421,
"l": 70.196
},
"oklch": {
"l": 0.71356,
"c": 0.16456,
"h": 316
},
"luminance": 0.33505
}Semantic roles & 50–950 ramp
primary
#CA7FE7
secondary
#DBEFD2
accent
#D01549
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84