#CA7BF2#CA7BF2
#CA7BF2 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.3% C 0.183 H 313.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7BF2 |
|---|---|
| RGB | rgb(202, 123, 242) |
| HSL | hsl(280, 82%, 72%) |
| HSV | hsv(280, 49%, 95%) |
| CMYK | cmyk(16.5%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(64.27, 50.70, -47.82) |
| CIE-LCH | lch(64.27, 69.69, 316.67°) |
| OKLab | oklab(71.3% 0.1254 -0.1332) |
| OKLCH | oklch(71.3% 0.183 313.3) |
| XYZ | xyz(47.4644, 33.1344, 87.8824) |
| Luminance | 0.3313 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.64
Easter Purple
#C071FE
ΔE00 3.93
Liliac
#C48EFD
ΔE00 5.02
Light Urple
#B36FF6
ΔE00 5.55
Bright Lavender
#C760FF
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7BF2 #A3F27B
analogous
#8F7BF2 #CA7BF2 #F27BDF
triadic
#CA7BF2 #F2CA7B #7BF2CA
tetradic
#CA7BF2 #F28F7B #A3F27B #7BDFF2
square
#CA7BF2 #F28F7B #A3F27B #7BDFF2
split-complementary
#CA7BF2 #DFF27B #7BF28F
monochromatic
#9A16DD #B443ED #CA7BF2 #E0B3F7 #F4E3FC
Accessibility & contrast
On white
2.75
#CA7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#CA7BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7BF2
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7BF2 | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6097F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#C68EAB
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ca7bf2; /* rgb */ color: rgb(202, 123, 242); /* oklch */ color: oklch(71.3% 0.183 313.3);
Tailwind
colors: {
custom: {
50: '#dca3f7',
500: '#ca7bf2',
950: '#000000',
},
}SCSS
$custom: #ca7bf2; $custom-light: #dca3f7; $custom-dark: #000000;
JSON
{
"hex": "#ca7bf2",
"rgb": {
"r": 202,
"g": 123,
"b": 242
},
"hsl": {
"h": 279.832,
"s": 82.069,
"l": 71.569
},
"oklch": {
"l": 0.71302,
"c": 0.18294,
"h": 313.3
},
"luminance": 0.33133
}Semantic roles & 50–950 ramp
primary
#CA7BF2
secondary
#DFF4D5
accent
#DE074F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85