#CA7BFE#CA7BFE
#CA7BFE is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.9% C 0.196 H 310.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CA7BFE |
|---|---|
| RGB | rgb(202, 123, 254) |
| HSL | hsl(276, 98%, 74%) |
| HSV | hsv(276, 52%, 100%) |
| CMYK | cmyk(20.5%, 51.6%, 0%, 0.4%) |
| CIE-LAB | lab(64.87, 53.24, -53.47) |
| CIE-LCH | lch(64.87, 75.46, 314.88°) |
| OKLab | oklab(71.94% 0.1265 -0.1497) |
| OKLCH | oklch(71.94% 0.196 310.2) |
| XYZ | xyz(49.3261, 33.8791, 97.6876) |
| Luminance | 0.3388 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.20
Easter Purple
#C071FE
ΔE00 2.98
Liliac
#C48EFD
ΔE00 4.61
Light Urple
#B36FF6
ΔE00 5.02
Bright Lavender
#C760FF
ΔE00 5.57
Bright Lilac
#C95EFB
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA7BFE #AFFE7B
analogous
#897BFE #CA7BFE #FE7BF1
triadic
#CA7BFE #FECA7B #7BFECA
tetradic
#CA7BFE #FE897B #AFFE7B #7BF1FE
square
#CA7BFE #FE897B #AFFE7B #7BF1FE
split-complementary
#CA7BFE #F1FE7B #7BFE89
monochromatic
#9902FD #B23EFE #CA7BFE #E2B8FE #F3E1FF
Accessibility & contrast
On white
2.70
#CA7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#CA7BFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CA7BFE
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA7BFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA7BFE | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#C491B1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ca7bfe; /* rgb */ color: rgb(202, 123, 254); /* oklch */ color: oklch(71.9% 0.196 310.2);
Tailwind
colors: {
custom: {
50: '#dda3ff',
500: '#ca7bfe',
950: '#000000',
},
}SCSS
$custom: #ca7bfe; $custom-light: #dda3ff; $custom-dark: #000000;
JSON
{
"hex": "#ca7bfe",
"rgb": {
"r": 202,
"g": 123,
"b": 254
},
"hsl": {
"h": 276.183,
"s": 98.496,
"l": 73.922
},
"oklch": {
"l": 0.71938,
"c": 0.19599,
"h": 310.2
},
"luminance": 0.33878
}Semantic roles & 50–950 ramp
primary
#CA7BFE
secondary
#E2F7D4
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86