#C291F2#C291F2
#C291F2 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.0% C 0.144 H 306.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #C291F2 |
|---|---|
| RGB | rgb(194, 145, 242) |
| HSL | hsl(270, 79%, 76%) |
| HSV | hsv(270, 40%, 95%) |
| CMYK | cmyk(19.8%, 40.1%, 0%, 5.1%) |
| CIE-LAB | lab(68.12, 36.69, -41.83) |
| CIE-LCH | lch(68.12, 55.64, 311.26°) |
| OKLab | oklab(73.99% 0.0858 -0.1162) |
| OKLCH | oklch(73.99% 0.144 306.4) |
| XYZ | xyz(48.3974, 38.1313, 88.7976) |
| Luminance | 0.3813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.10
Baby Purple
#CA9BF7
ΔE00 2.68
Pastel Purple
#CAA0FF
ΔE00 3.89
Lavender (survey)
#C79FEF
ΔE00 4.08
Lilac (survey)
#CEA2FD
ΔE00 4.38
Pale Purple
#B790D4
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C291F2 #C1F291
analogous
#9191F2 #C291F2 #F291F2
triadic
#C291F2 #F2C291 #91F2C2
tetradic
#C291F2 #F29191 #C1F291 #91F2F2
square
#C291F2 #F29191 #C1F291 #91F2F2
split-complementary
#C291F2 #F2F291 #91F291
monochromatic
#8524E5 #A45AEC #C291F2 #E0C8F8 #F0E4FC
Accessibility & contrast
On white
2.43
#C291F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#C291F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C291F2
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C291F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C291F2 | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#BBA0B6
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c291f2; /* rgb */ color: rgb(194, 145, 242); /* oklch */ color: oklch(74.0% 0.144 306.4);
Tailwind
colors: {
custom: {
50: '#d6b2f6',
500: '#c291f2',
950: '#000000',
},
}SCSS
$custom: #c291f2; $custom-light: #d6b2f6; $custom-dark: #000000;
JSON
{
"hex": "#c291f2",
"rgb": {
"r": 194,
"g": 145,
"b": 242
},
"hsl": {
"h": 270.309,
"s": 78.862,
"l": 75.882
},
"oklch": {
"l": 0.73992,
"c": 0.1444,
"h": 306.4
},
"luminance": 0.38131
}Semantic roles & 50–950 ramp
primary
#C291F2
secondary
#E5F4D7
accent
#DB0A72
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085