#CA7BF6#CA7BF6
#CA7BF6 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.187 H 312.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7BF6 |
|---|---|
| RGB | rgb(202, 123, 246) |
| HSL | hsl(279, 87%, 72%) |
| HSV | hsv(279, 50%, 96%) |
| CMYK | cmyk(17.9%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(64.47, 51.54, -49.71) |
| CIE-LCH | lch(64.47, 71.61, 316.03°) |
| OKLab | oklab(71.51% 0.1258 -0.1387) |
| OKLCH | oklch(71.51% 0.187 312.2) |
| XYZ | xyz(48.0717, 33.3774, 91.0810) |
| Luminance | 0.3338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.32
Easter Purple
#C071FE
ΔE00 3.51
Liliac
#C48EFD
ΔE00 4.80
Light Urple
#B36FF6
ΔE00 5.29
Bright Lavender
#C760FF
ΔE00 5.82
Bright Lilac
#C95EFB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7BF6 #A7F67B
analogous
#8D7BF6 #CA7BF6 #F67BE4
triadic
#CA7BF6 #F6CA7B #7BF6CA
tetradic
#CA7BF6 #F68D7B #A7F67B #7BE4F6
square
#CA7BF6 #F68D7B #A7F67B #7BE4F6
split-complementary
#CA7BF6 #E4F67B #7BF68D
monochromatic
#9A10E7 #B342F2 #CA7BF6 #E1B4FA #F3E2FD
Accessibility & contrast
On white
2.74
#CA7BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.68
#CA7BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7BF6
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7BF6 | 1.00 | 2.74 | 7.68 | 7.68 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#C68FAD
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ca7bf6; /* rgb */ color: rgb(202, 123, 246); /* oklch */ color: oklch(71.5% 0.187 312.2);
Tailwind
colors: {
custom: {
50: '#dca3f9',
500: '#ca7bf6',
950: '#000000',
},
}SCSS
$custom: #ca7bf6; $custom-light: #dca3f9; $custom-dark: #000000;
JSON
{
"hex": "#ca7bf6",
"rgb": {
"r": 202,
"g": 123,
"b": 246
},
"hsl": {
"h": 278.537,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.71511,
"c": 0.18727,
"h": 312.2
},
"luminance": 0.33376
}Semantic roles & 50–950 ramp
primary
#CA7BF6
secondary
#E1F5D6
accent
#E40253
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85