#F056E2#F056E2
#F056E2 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.6% C 0.241 H 331.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #F056E2 |
|---|---|
| RGB | rgb(240, 86, 226) |
| HSL | hsl(305, 84%, 64%) |
| HSV | hsv(305, 64%, 94%) |
| CMYK | cmyk(0%, 64.2%, 5.8%, 5.9%) |
| CIE-LAB | lab(62.23, 74.31, -41.80) |
| CIE-LCH | lch(62.23, 85.26, 330.64°) |
| OKLab | oklab(70.59% 0.2123 -0.1147) |
| OKLCH | oklch(70.59% 0.241 331.6) |
| XYZ | xyz(52.9904, 30.6758, 75.0668) |
| Luminance | 0.3067 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 3.54
Candy Pink
#FF63E9
ΔE00 3.74
Violet Pink
#FB5FFC
ΔE00 4.13
Orchid
#DA70D6
ΔE00 4.81
Purpleish Pink
#DF4EC8
ΔE00 4.81
Bright Magenta
#FF08E8
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F056E2 #56F064
analogous
#B156F0 #F056E2 #F05695
triadic
#F056E2 #E2F056 #56E2F0
tetradic
#F056E2 #F0B156 #56F064 #5695F0
square
#F056E2 #F0B156 #56F064 #5695F0
split-complementary
#F056E2 #95F056 #56F0B1
monochromatic
#BB11AC #EB1ED8 #F056E2 #F58EEC #FAC6F5
Accessibility & contrast
On white
2.94
#F056E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#F056E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F056E2
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F056E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F056E2 | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D89E6
Deuteranopia (green-blind)
#839EDE
Tritanopia (blue-blind)
#F96595
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #f056e2; /* rgb */ color: rgb(240, 86, 226); /* oklch */ color: oklch(70.6% 0.241 331.6);
Tailwind
colors: {
custom: {
50: '#f990eb',
500: '#f056e2',
950: '#000000',
},
}SCSS
$custom: #f056e2; $custom-light: #f990eb; $custom-dark: #000000;
JSON
{
"hex": "#f056e2",
"rgb": {
"r": 240,
"g": 86,
"b": 226
},
"hsl": {
"h": 305.455,
"s": 83.696,
"l": 63.922
},
"oklch": {
"l": 0.7059,
"c": 0.24134,
"h": 331.6
},
"luminance": 0.30672
}Semantic roles & 50–950 ramp
primary
#F056E2
secondary
#B6ECBB
accent
#E01905
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84