#FC7AF2#FC7AF2
#FC7AF2 is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 77.0% C 0.211 H 330.4°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #FC7AF2 |
|---|---|
| RGB | rgb(252, 122, 242) |
| HSL | hsl(305, 96%, 73%) |
| HSV | hsv(305, 52%, 99%) |
| CMYK | cmyk(0%, 51.6%, 4%, 1.2%) |
| CIE-LAB | lab(70.20, 64.72, -38.09) |
| CIE-LCH | lch(70.20, 75.09, 329.52°) |
| OKLab | oklab(76.99% 0.1832 -0.1041) |
| OKLCH | oklch(76.99% 0.211 330.4) |
| XYZ | xyz(63.1309, 41.0293, 88.5814) |
| Luminance | 0.4103 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.36
Purply Pink
#F075E6
ΔE00 2.45
Candy Pink
#FF63E9
ΔE00 3.73
Light Magenta
#FA5FF7
ΔE00 4.71
Violet Pink
#FB5FFC
ΔE00 4.88
Lavender Pink
#DD85D7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FC7AF2 #7AFC84
analogous
#C57AFC #FC7AF2 #FC7AB1
triadic
#FC7AF2 #F2FC7A #7AF2FC
tetradic
#FC7AF2 #FCC57A #7AFC84 #7AB1FC
square
#FC7AF2 #FCC57A #7AFC84 #7AB1FC
split-complementary
#FC7AF2 #B1FC7A #7AFCC5
monochromatic
#F606E4 #FB3EEC #FC7AF2 #FDB6F8 #FEE1FC
Accessibility & contrast
On white
2.28
#FC7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#FC7AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FC7AF2
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FC7AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FC7AF2 | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF85AB
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #fc7af2; /* rgb */ color: rgb(252, 122, 242); /* oklch */ color: oklch(77.0% 0.211 330.4);
Tailwind
colors: {
custom: {
50: '#ffa5f6',
500: '#fc7af2',
950: '#000000',
},
}SCSS
$custom: #fc7af2; $custom-light: #ffa5f6; $custom-dark: #000000;
JSON
{
"hex": "#fc7af2",
"rgb": {
"r": 252,
"g": 122,
"b": 242
},
"hsl": {
"h": 304.615,
"s": 95.588,
"l": 73.333
},
"oklch": {
"l": 0.76987,
"c": 0.21069,
"h": 330.4
},
"luminance": 0.41025
}Semantic roles & 50–950 ramp
primary
#FC7AF2
secondary
#D4F7D7
accent
#E61200
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85