#FC7EF2#FC7EF2
#FC7EF2 is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.5% C 0.205 H 330.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #FC7EF2 |
|---|---|
| RGB | rgb(252, 126, 242) |
| HSL | hsl(305, 95%, 74%) |
| HSV | hsv(305, 50%, 99%) |
| CMYK | cmyk(0%, 50%, 4%, 1.2%) |
| CIE-LAB | lab(70.89, 62.87, -37.01) |
| CIE-LCH | lch(70.89, 72.95, 329.52°) |
| OKLab | oklab(77.5% 0.1779 -0.1011) |
| OKLCH | oklch(77.5% 0.205 330.4) |
| XYZ | xyz(63.6322, 42.0318, 88.7485) |
| Luminance | 0.4203 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.16
Purply Pink
#F075E6
ΔE00 2.87
Candy Pink
#FF63E9
ΔE00 4.39
Light Magenta
#FA5FF7
ΔE00 5.43
Violet Pink
#FB5FFC
ΔE00 5.58
Lavender Pink
#DD85D7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FC7EF2 #7EFC88
analogous
#C77EFC #FC7EF2 #FC7EB3
triadic
#FC7EF2 #F2FC7E #7EF2FC
tetradic
#FC7EF2 #FCC77E #7EFC88 #7EB3FC
square
#FC7EF2 #FCC77E #7EFC88 #7EB3FC
split-complementary
#FC7EF2 #B3FC7E #7EFCC7
monochromatic
#F906E6 #FB42EC #FC7EF2 #FDBAF8 #FEE1FC
Accessibility & contrast
On white
2.23
#FC7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#FC7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FC7EF2
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FC7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FC7EF2 | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#9CB4EE
Tritanopia (blue-blind)
#FF89AD
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #fc7ef2; /* rgb */ color: rgb(252, 126, 242); /* oklch */ color: oklch(77.5% 0.205 330.4);
Tailwind
colors: {
custom: {
50: '#ffa8f6',
500: '#fc7ef2',
950: '#000000',
},
}SCSS
$custom: #fc7ef2; $custom-light: #ffa8f6; $custom-dark: #000000;
JSON
{
"hex": "#fc7ef2",
"rgb": {
"r": 252,
"g": 126,
"b": 242
},
"hsl": {
"h": 304.762,
"s": 95.455,
"l": 74.118
},
"oklch": {
"l": 0.77501,
"c": 0.20458,
"h": 330.4
},
"luminance": 0.42028
}Semantic roles & 50–950 ramp
primary
#FC7EF2
secondary
#D4F7D7
accent
#E61200
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85