#C481F2#C481F2
#C481F2 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.6% C 0.171 H 310.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #C481F2 |
|---|---|
| RGB | rgb(196, 129, 242) |
| HSL | hsl(276, 81%, 73%) |
| HSV | hsv(276, 47%, 95%) |
| CMYK | cmyk(19%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(64.84, 45.92, -46.96) |
| CIE-LCH | lch(64.84, 65.68, 314.36°) |
| OKLab | oklab(71.58% 0.1102 -0.1309) |
| OKLCH | oklch(71.58% 0.171 310.1) |
| XYZ | xyz(46.6393, 33.8478, 88.0635) |
| Luminance | 0.3385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.79
Liliac
#C48EFD
ΔE00 3.50
Easter Purple
#C071FE
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 5.66
Baby Purple
#CA9BF7
ΔE00 6.46
Bright Lavender
#C760FF
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C481F2 #AFF281
analogous
#8B81F2 #C481F2 #F281E8
triadic
#C481F2 #F2C481 #81F2C4
tetradic
#C481F2 #F28B81 #AFF281 #81E8F2
square
#C481F2 #F28B81 #AFF281 #81E8F2
split-complementary
#C481F2 #E8F281 #81F28B
monochromatic
#8F17E1 #AA4AEC #C481F2 #DEB8F8 #F2E3FC
Accessibility & contrast
On white
2.70
#C481F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#C481F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C481F2
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C481F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C481F2 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#789FEF
Tritanopia (blue-blind)
#BE93AE
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c481f2; /* rgb */ color: rgb(196, 129, 242); /* oklch */ color: oklch(71.6% 0.171 310.1);
Tailwind
colors: {
custom: {
50: '#d8a7f7',
500: '#c481f2',
950: '#000000',
},
}SCSS
$custom: #c481f2; $custom-light: #d8a7f7; $custom-dark: #000000;
JSON
{
"hex": "#c481f2",
"rgb": {
"r": 196,
"g": 129,
"b": 242
},
"hsl": {
"h": 275.575,
"s": 81.295,
"l": 72.745
},
"oklch": {
"l": 0.71581,
"c": 0.17109,
"h": 310.1
},
"luminance": 0.33847
}Semantic roles & 50–950 ramp
primary
#C481F2
secondary
#E3F4D7
accent
#DE085F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85