#F056F2#F056F2
#F056F2 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.4% C 0.253 H 327.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #F056F2 |
|---|---|
| RGB | rgb(240, 86, 242) |
| HSL | hsl(299, 86%, 64%) |
| HSV | hsv(299, 64%, 95%) |
| CMYK | cmyk(0.8%, 64.5%, 0%, 5.1%) |
| CIE-LAB | lab(63.01, 76.84, -49.49) |
| CIE-LCH | lch(63.01, 91.40, 327.21°) |
| OKLab | oklab(71.4% 0.2133 -0.1369) |
| OKLCH | oklch(71.4% 0.253 327.3) |
| XYZ | xyz(55.2891, 31.5953, 87.1736) |
| Luminance | 0.3159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.49
Violet Pink
#FB5FFC
ΔE00 2.73
Candy Pink
#FF63E9
ΔE00 4.47
Heliotrope
#D94FF5
ΔE00 4.74
Magenta
#FF00FF
ΔE00 4.89
Fuchsia
#FF00FF
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F056F2 #58F256
analogous
#A256F2 #F056F2 #F256A6
triadic
#F056F2 #F2F056 #56F2F0
tetradic
#F056F2 #F2A256 #58F256 #56A6F2
square
#F056F2 #F2A256 #58F256 #56A6F2
split-complementary
#F056F2 #A6F256 #56F2A2
monochromatic
#BD0FBF #EB1DEE #F056F2 #F58FF6 #FAC8FB
Accessibility & contrast
On white
2.87
#F056F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#F056F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F056F2
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F056F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F056F2 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8CF7
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#F76C9D
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #f056f2; /* rgb */ color: rgb(240, 86, 242); /* oklch */ color: oklch(71.4% 0.253 327.3);
Tailwind
colors: {
custom: {
50: '#f990f7',
500: '#f056f2',
950: '#000000',
},
}SCSS
$custom: #f056f2; $custom-light: #f990f7; $custom-dark: #000000;
JSON
{
"hex": "#f056f2",
"rgb": {
"r": 240,
"g": 86,
"b": 242
},
"hsl": {
"h": 299.231,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.71401,
"c": 0.25349,
"h": 327.3
},
"luminance": 0.31592
}Semantic roles & 50–950 ramp
primary
#F056F2
secondary
#B8EDB7
accent
#E20306
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85