#C7A3FB#C7A3FB
#C7A3FB is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.0% C 0.128 H 302.3°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A3FB |
|---|---|
| RGB | rgb(199, 163, 251) |
| HSL | hsl(265, 92%, 81%) |
| HSV | hsv(265, 35%, 98%) |
| CMYK | cmyk(20.7%, 35.1%, 0%, 1.6%) |
| CIE-LAB | lab(73.09, 30.26, -38.93) |
| CIE-LCH | lch(73.09, 49.31, 307.85°) |
| OKLab | oklab(78% 0.0683 -0.1078) |
| OKLCH | oklch(78% 0.128 302.3) |
| XYZ | xyz(54.0593, 45.3015, 97.1442) |
| Luminance | 0.4530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 1.34
Lilac (survey)
#CEA2FD
ΔE00 1.54
Lavender (survey)
#C79FEF
ΔE00 2.38
Baby Purple
#CA9BF7
ΔE00 2.46
Pale Violet
#CEAEFA
ΔE00 3.24
Light Violet
#D6B4FC
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A3FB #D7FBA3
analogous
#A3ABFB #C7A3FB #F3A3FB
triadic
#C7A3FB #FBC7A3 #A3FBC7
tetradic
#C7A3FB #FBA3AB #D7FBA3 #A3FBF3
square
#C7A3FB #FBA3AB #D7FBA3 #A3FBF3
split-complementary
#C7A3FB #FBF3A3 #ABFBA3
monochromatic
#802EF6 #A368F8 #C7A3FB #EBDEFE #EDE2FE
Accessibility & contrast
On white
2.09
#C7A3FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#C7A3FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A3FB
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A3FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A3FB | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB3FE
Deuteranopia (green-blind)
#96B3F9
Tritanopia (blue-blind)
#BEB1C4
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c7a3fb; /* rgb */ color: rgb(199, 163, 251); /* oklch */ color: oklch(78.0% 0.128 302.3);
Tailwind
colors: {
custom: {
50: '#d9befd',
500: '#c7a3fb',
950: '#000000',
},
}SCSS
$custom: #c7a3fb; $custom-light: #d9befd; $custom-dark: #000000;
JSON
{
"hex": "#c7a3fb",
"rgb": {
"r": 199,
"g": 163,
"b": 251
},
"hsl": {
"h": 264.545,
"s": 91.667,
"l": 81.176
},
"oklch": {
"l": 0.77999,
"c": 0.12763,
"h": 302.3
},
"luminance": 0.45302
}Semantic roles & 50–950 ramp
primary
#C7A3FB
secondary
#E8F6D5
accent
#E60088
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185