#CA7FE6#CA7FE6
#CA7FE6 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.163 H 316.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FE6 |
|---|---|
| RGB | rgb(202, 127, 230) |
| HSL | hsl(284, 67%, 70%) |
| HSV | hsv(284, 45%, 90%) |
| CMYK | cmyk(12.2%, 44.8%, 0%, 9.8%) |
| CIE-LAB | lab(64.52, 46.13, -40.78) |
| CIE-LCH | lch(64.52, 61.57, 318.52°) |
| OKLab | oklab(71.31% 0.1182 -0.1129) |
| OKLCH | oklch(71.31% 0.163 316.3) |
| XYZ | xyz(46.2273, 33.4498, 78.8689) |
| Luminance | 0.3345 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.64
Orchid
#DA70D6
ΔE00 5.43
Liliac
#C48EFD
ΔE00 5.55
Lavender Pink
#DD85D7
ΔE00 6.10
Easter Purple
#C071FE
ΔE00 6.12
Violet (CSS)
#EE82EE
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FE6 #9BE67F
analogous
#967FE6 #CA7FE6 #E67FCF
triadic
#CA7FE6 #E6CA7F #7FE6CA
tetradic
#CA7FE6 #E6967F #9BE67F #7FCFE6
square
#CA7FE6 #E6967F #9BE67F #7FCFE6
split-complementary
#CA7FE6 #CFE67F #7FE696
monochromatic
#9926C4 #B54CDC #CA7FE6 #DFB2F0 #F4E5FA
Accessibility & contrast
On white
2.73
#CA7FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#CA7FE6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FE6
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FE6 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C98EA
Deuteranopia (green-blind)
#819FE3
Tritanopia (blue-blind)
#C98DA8
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ca7fe6; /* rgb */ color: rgb(202, 127, 230); /* oklch */ color: oklch(71.3% 0.163 316.3);
Tailwind
colors: {
custom: {
50: '#dca6ee',
500: '#ca7fe6',
950: '#000000',
},
}SCSS
$custom: #ca7fe6; $custom-light: #dca6ee; $custom-dark: #000000;
JSON
{
"hex": "#ca7fe6",
"rgb": {
"r": 202,
"g": 127,
"b": 230
},
"hsl": {
"h": 283.689,
"s": 67.32,
"l": 70
},
"oklch": {
"l": 0.71308,
"c": 0.16348,
"h": 316.3
},
"luminance": 0.33448
}Semantic roles & 50–950 ramp
primary
#CA7FE6
secondary
#DAEFD2
accent
#CF1649
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84