#CA7FE2#CA7FE2
#CA7FE2 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.159 H 317.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7FE2 |
|---|---|
| RGB | rgb(202, 127, 226) |
| HSL | hsl(285, 63%, 69%) |
| HSV | hsv(285, 44%, 89%) |
| CMYK | cmyk(10.6%, 43.8%, 0%, 11.4%) |
| CIE-LAB | lab(64.34, 45.31, -38.84) |
| CIE-LCH | lch(64.34, 59.68, 319.40°) |
| OKLab | oklab(71.12% 0.1176 -0.1073) |
| OKLCH | oklch(71.12% 0.159 317.6) |
| XYZ | xyz(45.6720, 33.2277, 75.9445) |
| Luminance | 0.3323 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.99
Light Purple
#BF77F6
ΔE00 5.26
Lavender Pink
#DD85D7
ΔE00 5.55
Orchid (survey)
#C875C4
ΔE00 5.77
Liliac
#C48EFD
ΔE00 6.10
Violet (CSS)
#EE82EE
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7FE2 #97E27F
analogous
#997FE2 #CA7FE2 #E27FC8
triadic
#CA7FE2 #E2CA7F #7FE2CA
tetradic
#CA7FE2 #E2997F #97E27F #7FC8E2
square
#CA7FE2 #E2997F #97E27F #7FC8E2
split-complementary
#CA7FE2 #C8E27F #7FE299
monochromatic
#992BBC #B54DD7 #CA7FE2 #DFB1ED #F3E3F9
Accessibility & contrast
On white
2.75
#CA7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#CA7FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7FE2
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7FE2 | 1.00 | 2.75 | 7.65 | 7.65 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#839EDF
Tritanopia (blue-blind)
#CA8CA6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ca7fe2; /* rgb */ color: rgb(202, 127, 226); /* oklch */ color: oklch(71.1% 0.159 317.6);
Tailwind
colors: {
custom: {
50: '#dca6eb',
500: '#ca7fe2',
950: '#000000',
},
}SCSS
$custom: #ca7fe2; $custom-light: #dca6eb; $custom-dark: #000000;
JSON
{
"hex": "#ca7fe2",
"rgb": {
"r": 202,
"g": 127,
"b": 226
},
"hsl": {
"h": 285.455,
"s": 63.057,
"l": 69.216
},
"oklch": {
"l": 0.71116,
"c": 0.15918,
"h": 317.6
},
"luminance": 0.33226
}Semantic roles & 50–950 ramp
primary
#CA7FE2
secondary
#D7EDD0
accent
#CB1B45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84