#C47AFE#C47AFE
#C47AFE is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.2% C 0.196 H 308.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C47AFE |
|---|---|
| RGB | rgb(196, 122, 254) |
| HSL | hsl(274, 99%, 74%) |
| HSV | hsv(274, 52%, 100%) |
| CMYK | cmyk(22.8%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(64.01, 52.23, -54.88) |
| CIE-LCH | lch(64.01, 75.76, 313.59°) |
| OKLab | oklab(71.16% 0.1206 -0.1539) |
| OKLCH | oklch(71.16% 0.196 308.1) |
| XYZ | xyz(47.6103, 32.8112, 97.5718) |
| Luminance | 0.3281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.44
Easter Purple
#C071FE
ΔE00 2.17
Light Urple
#B36FF6
ΔE00 4.04
Liliac
#C48EFD
ΔE00 4.76
Bright Lavender
#C760FF
ΔE00 5.23
Bright Lilac
#C95EFB
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C47AFE #B4FE7A
analogous
#827AFE #C47AFE #FE7AF6
triadic
#C47AFE #FEC47A #7AFEC4
tetradic
#C47AFE #FE827A #B4FE7A #7AF6FE
square
#C47AFE #FE827A #B4FE7A #7AF6FE
split-complementary
#C47AFE #F6FE7A #7AFE82
monochromatic
#8E02FC #A93DFE #C47AFE #DFB7FE #F2E1FF
Accessibility & contrast
On white
2.78
#C47AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#C47AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C47AFE
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C47AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C47AFE | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#BC91B1
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c47afe; /* rgb */ color: rgb(196, 122, 254); /* oklch */ color: oklch(71.2% 0.196 308.1);
Tailwind
colors: {
custom: {
50: '#d9a3ff',
500: '#c47afe',
950: '#000000',
},
}SCSS
$custom: #c47afe; $custom-light: #d9a3ff; $custom-dark: #000000;
JSON
{
"hex": "#c47afe",
"rgb": {
"r": 196,
"g": 122,
"b": 254
},
"hsl": {
"h": 273.636,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.71157,
"c": 0.19557,
"h": 308.1
},
"luminance": 0.32811
}Semantic roles & 50–950 ramp
primary
#C47AFE
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86