#C487FC#C487FC
#C487FC is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.0% C 0.173 H 306.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C487FC |
|---|---|
| RGB | rgb(196, 135, 252) |
| HSL | hsl(271, 95%, 76%) |
| HSV | hsv(271, 46%, 99%) |
| CMYK | cmyk(22.2%, 46.4%, 0%, 1.2%) |
| CIE-LAB | lab(66.59, 44.91, -49.69) |
| CIE-LCH | lch(66.59, 66.98, 312.11°) |
| OKLab | oklab(73.04% 0.1034 -0.1389) |
| OKLCH | oklch(73.04% 0.173 306.7) |
| XYZ | xyz(48.9961, 36.0924, 96.4620) |
| Luminance | 0.3609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.72
Light Purple
#BF77F6
ΔE00 3.88
Easter Purple
#C071FE
ΔE00 5.15
Baby Purple
#CA9BF7
ΔE00 5.40
Pastel Purple
#CAA0FF
ΔE00 6.22
Light Urple
#B36FF6
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C487FC #BFFC87
analogous
#8987FC #C487FC #FC87FA
triadic
#C487FC #FCC487 #87FCC4
tetradic
#C487FC #FC8987 #BFFC87 #87FAFC
square
#C487FC #FC8987 #BFFC87 #87FAFC
split-complementary
#C487FC #FAFC87 #87FC89
monochromatic
#8910F9 #A74BFB #C487FC #E1C3FD #F0E1FE
Accessibility & contrast
On white
2.56
#C487FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#C487FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C487FC
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C487FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C487FC | 1.00 | 2.56 | 8.22 | 8.22 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#BC9BB6
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #c487fc; /* rgb */ color: rgb(196, 135, 252); /* oklch */ color: oklch(73.0% 0.173 306.7);
Tailwind
colors: {
custom: {
50: '#d8abfe',
500: '#c487fc',
950: '#000000',
},
}SCSS
$custom: #c487fc; $custom-light: #d8abfe; $custom-dark: #000000;
JSON
{
"hex": "#c487fc",
"rgb": {
"r": 196,
"g": 135,
"b": 252
},
"hsl": {
"h": 271.282,
"s": 95.122,
"l": 75.882
},
"oklch": {
"l": 0.73043,
"c": 0.17311,
"h": 306.7
},
"luminance": 0.36092
}Semantic roles & 50–950 ramp
primary
#C487FC
secondary
#E5F6D5
accent
#E6006E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86