#CA7DF2#CA7DF2
#CA7DF2 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.6% C 0.180 H 313.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7DF2 |
|---|---|
| RGB | rgb(202, 125, 242) |
| HSL | hsl(279, 82%, 72%) |
| HSV | hsv(279, 48%, 95%) |
| CMYK | cmyk(16.5%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(64.67, 49.66, -47.18) |
| CIE-LCH | lch(64.67, 68.50, 316.46°) |
| OKLab | oklab(71.6% 0.1227 -0.1314) |
| OKLCH | oklch(71.6% 0.18 313) |
| XYZ | xyz(47.7150, 33.6357, 87.9660) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.87
Easter Purple
#C071FE
ΔE00 4.24
Liliac
#C48EFD
ΔE00 4.64
Light Urple
#B36FF6
ΔE00 5.83
Bright Lavender
#C760FF
ΔE00 6.48
Bright Lilac
#C95EFB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7DF2 #A5F27D
analogous
#907DF2 #CA7DF2 #F27DE0
triadic
#CA7DF2 #F2CA7D #7DF2CA
tetradic
#CA7DF2 #F2907D #A5F27D #7DE0F2
square
#CA7DF2 #F2907D #A5F27D #7DE0F2
split-complementary
#CA7DF2 #E0F27D #7DF290
monochromatic
#9A16DE #B345EC #CA7DF2 #E1B5F8 #F4E3FC
Accessibility & contrast
On white
2.72
#CA7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#CA7DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7DF2
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7DF2 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#C68FAC
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7df2; /* rgb */ color: rgb(202, 125, 242); /* oklch */ color: oklch(71.6% 0.180 313.0);
Tailwind
colors: {
custom: {
50: '#dca5f7',
500: '#ca7df2',
950: '#000000',
},
}SCSS
$custom: #ca7df2; $custom-light: #dca5f7; $custom-dark: #000000;
JSON
{
"hex": "#ca7df2",
"rgb": {
"r": 202,
"g": 125,
"b": 242
},
"hsl": {
"h": 279.487,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.71601,
"c": 0.17976,
"h": 313
},
"luminance": 0.33635
}Semantic roles & 50–950 ramp
primary
#CA7DF2
secondary
#E1F4D7
accent
#DE0751
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85