#C487FE#C487FE
#C487FE is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.175 H 306.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C487FE |
|---|---|
| RGB | rgb(196, 135, 254) |
| HSL | hsl(271, 98%, 76%) |
| HSV | hsv(271, 47%, 100%) |
| CMYK | cmyk(22.8%, 46.9%, 0%, 0.4%) |
| CIE-LAB | lab(66.69, 45.36, -50.63) |
| CIE-LCH | lch(66.69, 67.98, 311.86°) |
| OKLab | oklab(73.15% 0.1036 -0.1416) |
| OKLCH | oklch(73.15% 0.175 306.2) |
| XYZ | xyz(49.3147, 36.2199, 98.1399) |
| Luminance | 0.3622 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.75
Light Purple
#BF77F6
ΔE00 3.91
Easter Purple
#C071FE
ΔE00 5.10
Baby Purple
#CA9BF7
ΔE00 5.53
Pastel Purple
#CAA0FF
ΔE00 6.26
Light Urple
#B36FF6
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C487FE #C1FE87
analogous
#8987FE #C487FE #FE87FD
triadic
#C487FE #FEC487 #87FEC4
tetradic
#C487FE #FE8987 #C1FE87 #87FDFE
square
#C487FE #FE8987 #C1FE87 #87FDFE
split-complementary
#C487FE #FDFE87 #87FE89
monochromatic
#880EFD #A64AFD #C487FE #E2C4FF #F0E1FF
Accessibility & contrast
On white
2.55
#C487FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#C487FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C487FE
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C487FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C487FE | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#BB9BB7
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c487fe; /* rgb */ color: rgb(196, 135, 254); /* oklch */ color: oklch(73.1% 0.175 306.2);
Tailwind
colors: {
custom: {
50: '#d8abff',
500: '#c487fe',
950: '#000000',
},
}SCSS
$custom: #c487fe; $custom-light: #d8abff; $custom-dark: #000000;
JSON
{
"hex": "#c487fe",
"rgb": {
"r": 196,
"g": 135,
"b": 254
},
"hsl": {
"h": 270.756,
"s": 98.347,
"l": 76.275
},
"oklch": {
"l": 0.73147,
"c": 0.17545,
"h": 306.2
},
"luminance": 0.36219
}Semantic roles & 50–950 ramp
primary
#C487FE
secondary
#E5F7D4
accent
#E60070
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86