#FC7EFC#FC7EFC
#FC7EFC is a light, highly saturated purple. Relative luminance 0.426; OKLCH L 78.0% C 0.213 H 327.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #FC7EFC |
|---|---|
| RGB | rgb(252, 126, 252) |
| HSL | hsl(300, 95%, 74%) |
| HSV | hsv(300, 50%, 99%) |
| CMYK | cmyk(0%, 50%, 0%, 1.2%) |
| CIE-LAB | lab(71.32, 64.55, -41.81) |
| CIE-LCH | lch(71.32, 76.91, 327.06°) |
| OKLab | oklab(77.95% 0.1794 -0.1148) |
| OKLCH | oklch(77.95% 0.213 327.4) |
| XYZ | xyz(65.1753, 42.6491, 96.8757) |
| Luminance | 0.4264 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.58
Purply Pink
#F075E6
ΔE00 3.69
Candy Pink
#FF63E9
ΔE00 4.94
Violet Pink
#FB5FFC
ΔE00 5.04
Light Magenta
#FA5FF7
ΔE00 5.10
Lavender Pink
#DD85D7
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FC7EFC #7EFC7E
analogous
#BD7EFC #FC7EFC #FC7EBD
triadic
#FC7EFC #FCFC7E #7EFCFC
tetradic
#FC7EFC #FCBD7E #7EFC7E #7EBDFC
square
#FC7EFC #FCBD7E #7EFC7E #7EBDFC
split-complementary
#FC7EFC #BDFC7E #7EFCBD
monochromatic
#F906F9 #FB42FB #FC7EFC #FDBAFD #FEE1FE
Accessibility & contrast
On white
2.20
#FC7EFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#FC7EFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FC7EFC
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FC7EFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FC7EFC | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#FF8CB2
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #fc7efc; /* rgb */ color: rgb(252, 126, 252); /* oklch */ color: oklch(78.0% 0.213 327.4);
Tailwind
colors: {
custom: {
50: '#ffa8fe',
500: '#fc7efc',
950: '#000000',
},
}SCSS
$custom: #fc7efc; $custom-light: #ffa8fe; $custom-dark: #000000;
JSON
{
"hex": "#fc7efc",
"rgb": {
"r": 252,
"g": 126,
"b": 252
},
"hsl": {
"h": 300,
"s": 95.455,
"l": 74.118
},
"oklch": {
"l": 0.77952,
"c": 0.21301,
"h": 327.4
},
"luminance": 0.42645
}Semantic roles & 50–950 ramp
primary
#FC7EFC
secondary
#D4F7D4
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86