#CA7FE3#CA7FE3
#CA7FE3 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.160 H 317.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FE3 |
|---|---|
| RGB | rgb(202, 127, 227) |
| HSL | hsl(285, 64%, 69%) |
| HSV | hsv(285, 44%, 89%) |
| CMYK | cmyk(11%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(64.39, 45.52, -39.33) |
| CIE-LCH | lch(64.39, 60.15, 319.17°) |
| OKLab | oklab(71.16% 0.1177 -0.1087) |
| OKLCH | oklch(71.16% 0.16 317.3) |
| XYZ | xyz(45.8096, 33.2827, 76.6692) |
| Luminance | 0.3328 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 5.10
Light Purple
#BF77F6
ΔE00 5.10
Lavender Pink
#DD85D7
ΔE00 5.68
Orchid (survey)
#C875C4
ΔE00 5.94
Liliac
#C48EFD
ΔE00 5.96
Violet (CSS)
#EE82EE
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FE3 #98E37F
analogous
#987FE3 #CA7FE3 #E37FCA
triadic
#CA7FE3 #E3CA7F #7FE3CA
tetradic
#CA7FE3 #E3987F #98E37F #7FCAE3
square
#CA7FE3 #E3987F #98E37F #7FCAE3
split-complementary
#CA7FE3 #CAE37F #7FE398
monochromatic
#992ABE #B54DD8 #CA7FE3 #DFB1EE #F4E3F9
Accessibility & contrast
On white
2.74
#CA7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#CA7FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FE3
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FE3 | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E97E7
Deuteranopia (green-blind)
#829FE0
Tritanopia (blue-blind)
#CA8DA6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ca7fe3; /* rgb */ color: rgb(202, 127, 227); /* oklch */ color: oklch(71.2% 0.160 317.3);
Tailwind
colors: {
custom: {
50: '#dca6ec',
500: '#ca7fe3',
950: '#000000',
},
}SCSS
$custom: #ca7fe3; $custom-light: #dca6ec; $custom-dark: #000000;
JSON
{
"hex": "#ca7fe3",
"rgb": {
"r": 202,
"g": 127,
"b": 227
},
"hsl": {
"h": 285,
"s": 64.103,
"l": 69.412
},
"oklch": {
"l": 0.71164,
"c": 0.16024,
"h": 317.3
},
"luminance": 0.33281
}Semantic roles & 50–950 ramp
primary
#CA7FE3
secondary
#D8EDD0
accent
#CC1A46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84